PRB: OleCreate Problems with Borland CompilerLast reviewed: April 21, 1995Article ID: Q104461 |
The information in this article applies to:
SYMPTOMSUsing the OLE 2.0 application programming interface (API), OleCreate can cause unexpected behavior and return unexpected error codes when used in an application compiled with the Borland C++ compiler.
CAUSEAt link time, the Borland file IMPORT.LIB is included before the OLE 2.0 libraries. In the IMPORT.LIB file there is a reference to the OLE 1.0 OleCreate function.
RESOLUTIONInclude OLE2.LIB before IMPORT.LIB when specifying the libraries for linking.
|
Additional reference words: 2.00 third party third-party 3rd
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |