简体   繁体   中英

Connect to MS Access using c++

I am developing a c++ application, which uses MS Access 2000 (back end database). What is the best method to communicate with the database.

I can see a variety of options in msdn like

ODBC OLEDB DAO (Data Access Object)

From the below link, Microsoft says ACE engine should be used to communicate with Access 2007.

http://msdn.microsoft.com/en-us/library/cc811599.aspx#Ac2007DevelopingSolutions_Overview

Whether ACE engine can be installed in windows xp ??? so that my application can support both MS-Access 2000 and MS-Access 2007.

By the way, the application have to be ported to Linux. Is that possible to connect Access database from linux ?? (application in linux and database in windows)

Thanks

OLEDB / ADO是Windows上最好的,但是如果您需要移植到Linux并且不想重新编写所有的数据库访问权限,我会坚持使用ODBC。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM