Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I plan to convert a large VC6 application from 32bit to 64bit. I will be programming with VS2010 and will start from scratch and then copy/paste the hundreds of classes and resources.

The application uses ODBC CDatabase and CRecordset, and I can't change this.

In my 32bit version, I have to use ADO to compact and repair my password protected database because this can't be done in pure ODBC.

However, I have read that OLEDB.4.0 is not supported in Windows 7 64bit.
So, how can I programatically compact and repair a password protected access database in MFC? I have googled for many days, but have not found an answer. I don't want to use WOW64. I want my program to be pure 64bit.
Any help would be most appreciated.
Posted

1 solution

You cannot do it in 64-bit code. There are no 64-bit drivers for a Jet (Access) database. You don't have a choice but to use the same 32-bit code as you find plastered all over the web to do this.
 
Share this answer
 

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