home *** CD-ROM | disk | FTP | other *** search
- PATCH: Updated DAO SDK Required for Visual C++ 4.2
-
- -----------------------------------------------------------------------
- The information in this article applies to:
-
- - Microsoft Visual C++, 32-bit Edition, version 4.2
- - Microsoft Visual C++, Enterprise Edition, version 4.2
- -----------------------------------------------------------------------
-
- SUMMARY
- =======
-
- The incorrect version of the DAO SDK was shipped with Visual C++ 4.2. This
- can cause run-time errors during execution of programs built with the DAO
- SDK. In addition, a number of corrections were made with the Visual C++
- 4.2b patch. An updated version of the DAO SDK has been provided,
- recompiled using Visual C++ 4.2b. Finally, an updated version of the DAO
- Redistributable components is also included.
-
- Download DBDAO42.EXE, a self-extracting file, from the Microsoft
- Software Library (MSL) on the following services:
-
- - CompuServe
- GO MSL
- Search for DBDAO42.EXE
- Display results and download
-
- - Microsoft Download Service (MSDL)
- Dial (206) 936-6735 to connect to MSDL
- Download DBDAO42.EXE
-
- - Internet (anonymous FTP)
- ftp ftp.microsoft.com
- Change to the SOFTLIB\MSLFILES directory
- Get DBDAO42.EXE
-
- NOTE: Use the -d option when running DBDAO42.EXE to decompress the file and
- recreate the proper directory structure.
-
- SYMPTOMS
- ========
-
- In order to properly manage the heap, the DAO SDK must be recompiled to
- link with MFC42.DLL. The most common symptom is a failure to use CString
- properly during runtime, causing assertions at various locations within
- DBGHEAP.CPP.
-
- In addition, the DAO Redistributable components that shipped with VC 4.2
- did not correctly manage the registry. The DAOMIN.RUL file that ships with
- the DAO SDK in Visual C++ 4.2 can be used, with the InstallShield SDK,
- successfully to customize the SETUP.INS file to your particular needs.
-
- RESOLUTION
- ==========
-
- In order to not break applications built using Visual C++ 4.0 and 4.1,
- the DAO SDK dynamic link library has been renamed. The table below
- shows the 4.2 names and their 4.0/4.1 equivalents.
-
- 4.0 / 4.1 Version 4.2 Equivalent Does:
- ----------------- -------------- --------------------
- dbdao3.dll ddao3.dll ANSI / Release
- dbdao3.lib ddao3.lib " / "
- dbdao3d.dll ddao3d.dll ANSI / Debug
- dbdao3d.lib ddao3d.lib " / "
- dbdao3d.pdb ddao3d.pdb " / "
- dbdao3u.dll ddao3u.dll UNICODE / Release
- dbdao3u.lib ddao3u.lib " / "
- dbdao3ud.dll ddao3ud.dll UNICODE / Debug
- dbdao3ud.lib ddao3ud.lib " / "
- dbdao3ud.pdb ddao3ud.pdb " / "
-
- You will want to copy the VC++ version 4.2 compatible files into the same
- locations as their 4.0/4.1 equivalents.
-
- For any projects built with Visual C++ 4.2, you will want to link to the
- 4.2 version of the DAO SDK lib files. As the updated DAO SDK files were
- built using the 4.2b patch, it is also recommended (but not fully required)
- that you apply the Visual C++ 4.2b patch.
-
- REFERENCES
- ==========
-
- ARTICLE-ID: Q156934
- TITLE : PATCH: Visual C++ 4.2b Patch
-
- ARTICLE-ID: Q151426
- TITLE : How to Create a DAO Setup that Installs Jet IISAM Files
-
- Additional reference words: 4.20
- KBCategory: kbprg kbfile
- KBSubcategory: dbDao
-