DAO MSJET35.dll MSJET40.dll 
Author Message
 DAO MSJET35.dll MSJET40.dll

I am working on a legacy app in C++ that uses the CDaoDatabase object.
It always wants to load MSJET35.dll, even though we also have MSJET40.dll
installed on the machine.  Is there any way I can induce it to load
MSJET40.dll?

Also, are there any particular quirks in regard to MSJET35.dll on XP?  The
app works fine on 98 and 2000, but on XP we get:

"Database:  File
I/O error.  Incorrect version of the DLL file 'MSJET35.DLL'

Thanks,
Wesley



Sat, 02 Jul 2005 02:01:25 GMT
 DAO MSJET35.dll MSJET40.dll

Hi Wesley

You may want to look at our KB article (Q)236991 Unrecognized Database
Format error with Access 2000 Database.

Jet 4.0=DAO 3.6. From that article:

If you are linking with the MFC DLL, you can specify that you want MFC to
use DAO 3.6 by inserting the following line of code before you open an
Access 2000 database:

        AfxGetModuleState()->m_dwVersion = 0x0601;

Insert this line in the CYourApp::Initinstance() function of your program.
If you are building with the static MFC libraries, following are the steps
to get static builds of MFC to use DAO 3.6:

I hope this helps,

Russ Gray
Microsoft Developer Support

This posting is provided AS IS with no warranties, and confers no rights.

Are you secure? For information about the Microsoft Strategic Technology
Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.



Sat, 02 Jul 2005 08:41:42 GMT
 DAO MSJET35.dll MSJET40.dll

Thanks, works beautifully.



Quote:

> Hi Wesley

> You may want to look at our KB article (Q)236991 Unrecognized Database
> Format error with Access 2000 Database.

> Jet 4.0=DAO 3.6. From that article:

> If you are linking with the MFC DLL, you can specify that you want MFC to
> use DAO 3.6 by inserting the following line of code before you open an
> Access 2000 database:

> AfxGetModuleState()->m_dwVersion = 0x0601;

> Insert this line in the CYourApp::Initinstance() function of your program.
> If you are building with the static MFC libraries, following are the steps
> to get static builds of MFC to use DAO 3.6:

> I hope this helps,

> Russ Gray
> Microsoft Developer Support

> This posting is provided "AS IS" with no warranties, and confers no
rights.

> Are you secure? For information about the Microsoft Strategic Technology
> Protection Program and to order your FREE Security Tool Kit, please visit
> http://www.microsoft.com/security.



Sat, 02 Jul 2005 11:44:28 GMT
 
 [ 3 post ] 

 Relevant Pages 

1. access violation in msjt4jlt.dll/msjet40.dll

2. DAO problem with DLL dbdao3.dll

3. Help, IPFs in MSJET35.DLL

4. Invalid Page Fault MSJet35.dll

5. MSJET35.DLL incorrect version

6. Help please!!!..Illegal Operation in MSJET35.DLL

7. Dr. Watson in msjet35.dll in function Ordinal850

8. Dr. Watson from msjet35.dll

9. Access violation on MSJET35.dll

10. Dr. Watson from msjet35.dll

11. MSJet35.DLL Access Violation

12. MSJet35.dll error with CDaoRecordSet


 
Powered by phpBB® Forum Software