home *** CD-ROM | disk | FTP | other *** search
/ Computer Shopper 127 / dpcs0998.iso / Graphics / Phrecall / PHRECALL / DATA.Z / README.TXT < prev    next >
Encoding:
Text File  |  1997-10-03  |  3.4 KB  |  93 lines

  1. PATCH: Updated DAO SDK Required for Visual C++ 4.2
  2.  
  3. -----------------------------------------------------------------------
  4. The information in this article applies to:
  5.  
  6.  - Microsoft Visual C++, 32-bit Edition, version 4.2
  7.  - Microsoft Visual C++, Enterprise Edition, version 4.2
  8. -----------------------------------------------------------------------
  9.  
  10. SUMMARY
  11. =======
  12.  
  13. The incorrect version of the DAO SDK was shipped with Visual C++ 4.2.  This
  14. can cause run-time errors during execution of programs built with the DAO
  15. SDK.  In addition, a number of corrections were made with the Visual C++
  16. 4.2b patch.  An updated version of the DAO SDK has been provided,
  17. recompiled using Visual C++ 4.2b.  Finally, an updated version of the DAO
  18. Redistributable components is also included.
  19.  
  20. Download DBDAO42.EXE, a self-extracting file, from the Microsoft
  21. Software Library (MSL) on the following services:
  22.  
  23.  - CompuServe
  24.       GO MSL
  25.       Search for DBDAO42.EXE
  26.       Display results and download
  27.  
  28.  - Microsoft Download Service (MSDL)
  29.       Dial (206) 936-6735 to connect to MSDL
  30.       Download DBDAO42.EXE
  31.  
  32.  - Internet (anonymous FTP)
  33.       ftp ftp.microsoft.com
  34.       Change to the SOFTLIB\MSLFILES directory
  35.       Get DBDAO42.EXE
  36.  
  37. NOTE: Use the -d option when running DBDAO42.EXE to decompress the file and
  38. recreate the proper directory structure.
  39.  
  40. SYMPTOMS
  41. ========
  42.  
  43. In order to properly manage the heap, the DAO SDK must be recompiled to
  44. link with MFC42.DLL.  The most common symptom is a failure to use CString
  45. properly during runtime, causing assertions at various locations within
  46. DBGHEAP.CPP.
  47.  
  48. In addition, the DAO Redistributable components that shipped with VC 4.2
  49. did not correctly manage the registry.  The DAOMIN.RUL file that ships with
  50. the DAO SDK in Visual C++ 4.2 can be used, with the InstallShield SDK,
  51. successfully to customize the SETUP.INS file to your particular needs.
  52.  
  53. RESOLUTION
  54. ==========
  55.  
  56. In order to not break applications built using Visual C++ 4.0 and 4.1,
  57. the DAO SDK dynamic link library has been renamed.  The table below
  58. shows the 4.2 names and their 4.0/4.1 equivalents.
  59.  
  60.     4.0 / 4.1 Version  4.2 Equivalent        Does:
  61.     -----------------  --------------  --------------------
  62.     dbdao3.dll         ddao3.dll       ANSI / Release
  63.     dbdao3.lib         ddao3.lib        "   /    "
  64.     dbdao3d.dll        ddao3d.dll      ANSI / Debug
  65.     dbdao3d.lib        ddao3d.lib       "   /   "
  66.     dbdao3d.pdb        ddao3d.pdb       "   /   "
  67.     dbdao3u.dll        ddao3u.dll      UNICODE / Release
  68.     dbdao3u.lib        ddao3u.lib         "    /    "
  69.     dbdao3ud.dll       ddao3ud.dll     UNICODE / Debug 
  70.     dbdao3ud.lib       ddao3ud.lib        "    /   "
  71.     dbdao3ud.pdb       ddao3ud.pdb        "    /   "
  72.  
  73. You will want to copy the VC++ version 4.2 compatible files into the same
  74. locations as their 4.0/4.1 equivalents.
  75.  
  76. For any projects built with Visual C++ 4.2, you will want to link to the
  77. 4.2 version of the DAO SDK lib files.  As the updated DAO SDK files were
  78. built using the 4.2b patch, it is also recommended (but not fully required)
  79. that you apply the Visual C++ 4.2b patch.
  80.  
  81. REFERENCES
  82. ==========
  83.  
  84.    ARTICLE-ID:  Q156934
  85.    TITLE     :  PATCH: Visual C++ 4.2b Patch
  86.  
  87.    ARTICLE-ID:  Q151426
  88.    TITLE     :  How to Create a DAO Setup that Installs Jet IISAM Files
  89.  
  90. Additional reference words: 4.20
  91. KBCategory: kbprg kbfile
  92. KBSubcategory: dbDao 
  93.