The information in this article applies to: 
 SUMMARY
When debugging a DLL using the Visual Workbench debugger or CodeView
for Windows, one of the following errors may occur:
 In Codeview for Windows: In the 32-bit debugger: 
 -or- 
 -or- These error messages may occur when integer 5 is the return value from Windows API LoadLibrary() used by the debugger. MORE INFORMATION
The error occurs when Windows tries to load a library that it does not
recognize as a DLL. Most often it is because the definition file for the
DLL does not contain a LIBRARY statement, instead it uses a NAME statement.
To avoid the error message, simply changing NAME to LIBRARY in the DLL's
.DEF file.
 Additional query words: 
Keywords          : kbDebug kbide kbVC100 kbVC150 kbVC151 kbVC152 kbVC200 kbVC210 kbVC400 kbVC500 kbVC600   | 
| 
 Last Reviewed: July 1, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use.  |