Unanswered: Unable to initalize DAO/Jet DB engine in Windows ME/XP
My application is using DAO 3.6 and it is running fine
when it is being run from the VC++ 6.0 environemnt . But
withoug the VC++ environment, when it is executed it
crashes. The error is being given when trying to open the
MS Access database ,I caught the exception , and it
says "Unable to Initialize OLEDB/Jet engine". There is a
KB , regarding this very same exception, but thats only
applicable for VC++ 4.2. Anyway, I checked with the DLL's
mentioned there and found it was ok. I also execute the
DAOChecker tool , and the COmponent Checker tool to see if
anything is missing , but with no luck .
As the app, runs when VC++ 6.0 is installed, I guess
there are some dependencies , can anyone help me by saying
how can I make DAO inpendent.
Any help from your side would be highly appreciated . Please answer to this as this is is the best DB forum I have found.
This is a guess on my part, as I am not sure what you are doing and not familiar with C++, but if I am having trouble of the type you describe I would set a reference from VBA to the DAO 3.6 library as a first fault find attempt. It would take about 2 seconds and may help solve your problem???
I am using VC++ and DAO to create my app . To open the MS Access Database I am using the CDaoDatabase::Open() to open the Access database . When VC++ is not installed and one tries to execute the app, it gives an exception. I trace the part where it was giving the error, and I found , to the CDaodatabase::Open( ) function. When I placed the code within the try ... catch block , it gives me an exception, "Unable to initialize DAO/Jet DB engine". But on the other hand , if VC++ is installed and the application is executed, it runs fine. Does DAO have any dependencies... if yes, how do I make DAO independent .