Comments
 
posted on June 11th 2012, at 17:24
by lunarg
By default, import libraries (.lib files) made for MSVC are not compatible with Borland C Builder and Borland Delphi. Since version 6 of Borland C++ Builder, there's a tool which can convert these files in COFF format to OMF format. The tool is called coff2omf and resides in the Bin directory of your Borland installation.

Simply run the file as follows (be sure your path etc. is correct):

coff2omf mylib.lib mylib2.lib

Then, use the mylib2.lib file you just created and add it to your project.

Notice
The coff2omf tool only works properly if the library exports plain C functions. If C++ classes or mangled function names get exported, you usually get linker errors. If this is th  ...
Add a new comment
 
Your name:
Your e-mail:
Your comment:
 
Basic BBcode is supported.
Captcha:
Type the letters and numbers as shown.
/get/captcha/1732421573
Not readable? Get another.
 
 
 
 
« November 2024»
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
 
Links
 
Quote
« You only find out who is swimming naked when the tide goes out. »
Warren Buffett