Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/104461

From BetaArchive Wiki
Knowledge Base

PRB: OleCreate Problems with Borland Compiler

Article ID: 104461

Article Last Modified on 7/17/2001


  • Microsoft OLE 2.0

This article was previously published under Q104461


Using 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.


At 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.


Include OLE2.LIB before IMPORT.LIB when specifying the libraries for linking.

Additional query words: 2.00 third party third-party 3rd

Keywords: kbprogramming kbprb KB104461