FIX: DB Control Sample Release Build Won't RegisterLast reviewed: September 18, 1997Article ID: Q132203 |
1.20
WINDOWS
kbole kbfixlist kbbuglist
The information in this article applies to:
SYMPTOMSThe control is not registered and the following message is displayed:
LoadLibrary("<PATH>...\MSVC\CDK16\SAMPLES\DB\DB.DLL")failed.This happens when all the following conditions are true:
CAUSEThe reason for this failure lies in the fact that the database version of the OLE Control library (OCD25.DLL) was built with a .DEF file that contains the following LIBRARY statement:
LIBRARY OCD250This causes the loader to look for OCD250.DLL when loading the DB.DLL. Because the library is actually named OCD25.DLL in the system directory, the loader fails.
RESOLUTIONRebuild the import library for OCD25.DLL to include the correct library name by following these steps:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Visual C++ version 1.53 for Windows.
|
Additional reference words: database cdk ocd25 1.20
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |