FIX: Installing DAO SDK Outside of \DEVSTUDIO May Cause Problems

ID: Q175985


The information in this article applies to:
  • The DAO SDK, version 3.5, used with:
    • Microsoft Visual C++, 32-bit Editions, versions 5.0, 6.0


SYMPTOMS

If you install the DAO 3.5 SDK in a directory path outside of the default for DevStudio and give the name of that directory an extension, that is, \Daosdk.00, then the settings for both the Include and Lib paths within Visual C++ are cleared.

This bug is reproducible only if the new destination directory name includes an extension (".00" for example) AND is outside the DevStudio directory.


CAUSE

This bug is caused by a problem with an InstallShield registry function where a period (.) in the path causes the function to truncate the string it's supposed to be writing.


RESOLUTION

Uninstall the DAO SDK using Control Panel/Add Remove Programs. The default directories for Visual C++ will be restored. Reinstall the DAO SDK within the DevStudio directory, or without using an extension in the target installation directory.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Visual C++ version 6.0 for Windows.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Install Visual C++ 5.0. Verify that the default Include and Library directories are listed in the Tools\Options dialog box, Directories Tab. Then close Visual C++ 5.0.


  2. Execute Daosdk.35\....\Retail\Disk1\Setup.


  3. In the second screen, change the destination directory to C:\DataAcc.00. Click Yes to the "Create new dir?" prompt.


  4. Click Custom Install, then all options in the last two dialog boxes. Allow setup to complete.


  5. Restart Visual C++ 5.0, and recheck the Include and Library directories in the Tools\Options dialog box, Directories Tab.


RESULT: All original directories confirmed in step 1 are gone, with the new directory specified in step 3 in their place.

Additional query words:

Keywords : kbDAO kbDatabase kbVC500fix kbVC600fix
Version : winnt:3.5,5.0,6.0
Platform : winnt
Issue type : kbbug


Last Reviewed: January 26, 2000
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.