I am trying to access an Access Database using an Apache handler.
I have written a C++ Console App based on MFC that uses DAO classes to access an Access database on a Windows 7 64 system. It works as expected when I launch in it a cmd window
I have Apache running on this computer, with the same login credentials when running the console.
When I attempt to run the program in Apache I get the error: Unable to initialize DAO/Jet db Engine. If I comment out the line to open the database, the program works and it's console output is displayed in the browser window.
I have checked that I am running Apache and the Program under the same user. I have checked that I am setting the correct DAO version (3.6). I have checked and installed DAO360, registered it.
Somehow, when Apache attempts to launch the program, something is preventing the DB drivers from loading, but when I launch the same program in a console window, no problem.