Microsoft KB Archive/175985

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

Article ID: 175985

Article Last Modified on 12/10/2003

-

APPLIES TO

 Microsoft Data Access Objects 3.5, when used with:  Microsoft Visual C++ 5.0 Enterprise Edition

 Microsoft Visual C++ 5.0 Professional Edition

 Microsoft Visual C++ 6.0 Enterprise Edition

 Microsoft Visual C++ 6.0 Professional Edition</li></ul>

 Microsoft Visual C++ 6.0 Standard Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q175985

<div class="symptoms_section">

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.

<div class="cause_section">

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.

<div class="resolution_section">

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.

<div class="status_section">

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.

<div class="moreinformation_section">

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.

Keywords: kbbug kbfix kbvc600fix kbdatabase kbvc500fix KB175985

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.