Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: Load Delays When Debugging ODBC Applications in Visual C++


View products that this article applies to.

This article was previously published under Q220863

↑ Back to the top


Symptoms

When you debug an application that uses ODBC in the Visual C++ debugger, the debugger appears to hang for a period of time when loading ODBCINT.dll.

↑ Back to the top


Cause

The release version of ODBCINT.dll that ships with MDAC 2.0 contains the following debug string:

L:\Beacon\RES\US\ODBCLAN\ndebug32\ODBCINT.pdb
				
When you load ODBCINT.dll in the debugger, the debugger attempts to locate this file. If you have an L: drive mapped on the computer, a network delay occurs while the file system looks for this file.

Note that this delay does not occur with any ODBC application running in release mode.

↑ Back to the top


Resolution

You can avoid the delay when using MDAC 2.0 by either unmapping the L: drive, or by opening the ODBCINT.dll in a hex editor and changing the one instance of L: to some other drive letter that you know is not mapped on your system.

↑ Back to the top


Status

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. This bug was corrected in Microsoft Data Access Components 2.1.

↑ Back to the top


More information

Share your A: floppy drive as A and then map your L: drive to \\machinename\A. Run any ODBC application in the Visual C++ debugger. Notice that the A: drive spins indicating that the L: drive was accessed when ODBCINT.dll is loaded.

↑ Back to the top


Keywords: KB220863, kbsdkdataac210fix, kbmdac250fix, kbfix, kbdatabase, kbbug

↑ Back to the top

Article Info
Article ID : 220863
Revision : 3
Created on : 10/17/2003
Published on : 10/17/2003
Exists online : False
Views : 387