The information in this article applies to:
SYMPTOMSWhen you use the following procedure to convert a project built with the CDK that shipped with Visual C++ 2.x to Visual C++ 4.0, the following error appears:
Conversion Procedure
CAUSEThe reason that the specified file cannot be found is that it no longer exists in Visual C++ version 4.0. Because the Ocs30* libraries were variants of the MFC libraries, the functionality was merged with the Mfc40*.dll. This had several advantages, including better code reuse as one MFC .dll file can be used for both the OLE Control container and the OLE control. The problem is that the ocs30*.lib file is included within the Settings, Link page thereby giving the error Ocs30*.lib cannot be found. RESOLUTION
Change the settings so that Visual C++ version 4.0 is no longer trying to
link in the Ocs30*.lib file. This can be done by following these steps:
STATUSThis behavior is by design. MORE INFORMATIONSample Code
Try one of the Circ samples that ship with the 2.x CDK.
Additional query words: visualc ocx ole control ocs30d ocs30 lib dll
Keywords : kbenv kbole kbCtrl kbMFC kbVC |
Last Reviewed: January 31, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |