Click here to Skip to main content
15,889,368 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
We use DAO to read database in C++.
When we compile and run the application in 32 bit (on a Win7 64 bit machine) it works well.
When we compile and it in x64, the connect fail:
The connection string is simple:
"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\db.accdb"

the database in a simple MS Access 2007 file.
We saw a lot of people saying that the solution is to use 32 bit, but that is not an option for us...
Did anybody solve this problem?

Thanks!
Posted

1 solution

 
Share this answer
 
Comments
ronhash 8-Aug-11 8:30am    
Tried to install it already, but this is for office 2010, and it does not allow me to install it unless I remove all of the office 2007 first... and we don't even have office 2010....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900