Borland BDS2006 lib, dll | LabJack
 

Borland BDS2006 lib, dll

2 posts / 0 new
Last post
SashBremec
SashBremec's picture
Borland BDS2006 lib, dll

Hello,

Firstly congratulation for the products, truly a gems.

Back to business, I am trying to port the code from VC++ to Borland C++ (BDS2006) and I have problems/errors.

This are the errors:

[Linker Error] Error: 'C:\PROGRAM FILES (X86)\LABJACK\DRIVERS\64BIT\LABJACKUD.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

I've tried to convert the lib file with implib and coff2omf, but it seams both utilities failed to convert

ERROR: COFF error: LabJackUD.lib
  (coffread.cpp, 1495) : This file is probably an OMF library

Any idea?

Thanks, Sasa

LabJack Support
LabJack Support's picture
Are you building a 32-bit or

Are you building a 32-bit or 64-bit application? If 32-bit, use the .lib from C:\Program Files (x86)\LabJack\Drivers. If 64-bit, use the .lib from C:\Program Files (x86)\LabJack\Drivers\64bit. I believe Borland C++ can use .lib files for linking.