Hi there...
I tryed to add the gfl*.lib files from the bcc folder to my project...
But it tells me: "Invalid OMF record type 0x21 (possibly COFF)"
then i used coff2omf with the files from bcc folder...
then it told me something like "unresolved external... _functionXY etc"
then I tryed to use coff2omf on a lib that came from another directory... then the compiler told me again: "Invalid OMF record type 0x21 (possibly COFF)"
anyone has succesfully linked the library ?
Thanks in advance, hopefully somebody is knowing about this.
Greetz,
Ole
How to use the SDK with Borland...
Moderators: helmut, XnTriq, xnview
-
- Posts: 78
- Joined: Wed Aug 04, 2004 8:32 pm
Re: How to use the SDK with Borland...
Make your own import libraries with implib.th0rn wrote:Hi there...
I tryed to add the gfl*.lib files from the bcc folder to my project...
But it tells me: "Invalid OMF record type 0x21 (possibly COFF)"
then i used coff2omf with the files from bcc folder...
then it told me something like "unresolved external... _functionXY etc"
then I tryed to use coff2omf on a lib that came from another directory... then the compiler told me again: "Invalid OMF record type 0x21 (possibly COFF)"
anyone has succesfully linked the library ?
Thanks in advance, hopefully somebody is knowing about this.
Greetz,
Ole
This is required because Borland uses another lib file-structure than MSVC does.
Code: Select all
implib -c bor_libgfl211.lib libgfl211.dll
or
implib -a -c bor_libgfl211.lib libgfl211.dll
You may also play a bit more with the options of implib.
Re: How to use the SDK with Borland...
MaierMan wrote:Make your own import libraries with implib.th0rn wrote:Hi there...
I tryed to add the gfl*.lib files from the bcc folder to my project...
But it tells me: "Invalid OMF record type 0x21 (possibly COFF)"
then i used coff2omf with the files from bcc folder...
then it told me something like "unresolved external... _functionXY etc"
then I tryed to use coff2omf on a lib that came from another directory... then the compiler told me again: "Invalid OMF record type 0x21 (possibly COFF)"
anyone has succesfully linked the library ?
Thanks in advance, hopefully somebody is knowing about this.
Greetz,
Ole
This is required because Borland uses another lib file-structure than MSVC does.
This is how it works for me. Depending on the case (some windows headers are "buggy" when used with borland, thus you might need different version of the import library).Code: Select all
implib -c bor_libgfl211.lib libgfl211.dll or implib -a -c bor_libgfl211.lib libgfl211.dll
You may also play a bit more with the options of implib.