问题描述:

I have a tool that is developed in C++, it has ms access as a database. i am using ADODB to access the database. The tool works fine with the system which has MS office installed.

I am trying to run the tool in a system where MS office is not installed.

The Open db call is failing.

Can you please suggest me any solution for this problem ?

网友答案:

The Access application itself is not required for ADODB reading/writing of an Access database, but Office is required.

There are various projects that have had degrees of success in reverse engineering the mdb and accdb formats, but I'm not sure that they're robust enough for regular use. See MDB Tools or Jackcess

You might want to consider exporting the tables to a CSV format and then querying those files, or importing them into an alternate database.

相关阅读:
Top