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  ...
 
 
« March 2024»
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930
31      
 
Links
 
Quote
« When a bird does poo poo in your eye, be happy elephants don't fly. »