我正在开发一个 C++ 应用程序,它使用 MS Access 2000(后端数据库)。
与数据库通信的最佳方法是什么?
我可以在msdn中看到各种选项,例如
ODBC
OLEDB
DAO(数据访问对象)
从下面的链接中,Microsoft 表示应使用 ACE 引擎与 Access 2007 进行通信。
http://msdn.microsoft.com/en-us/library/cc811599.aspx#Ac2007DevelopingSolutions_Overview
ACE引擎是否可以安装在windows xp上???这样我的应用程序就可以同时支持 MS-Access 2000 和 MS-Access 2007。
顺便说一下,该应用程序必须移植到 Linux。 linux下可以连接Access数据库吗? (linux中的应用程序和windows中的数据库)
谢谢
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
发布评论
评论(1)
OLEDB / ADO 在 Windows 上是最好的,但如果您需要移植到 Linux 并且不想重写所有数据库访问内容,我会坚持使用 ODBC。
OLEDB / ADO is the best on Windows, but if you need to port to Linux and don't want to re-write all of the db access stuff, I'd stick with ODBC.