LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I call a DLL from Borland C++Builder that was generated by LabVIEW?

Highlighted
In the linking phase, the linker of Borland C++Builder echoes the message shown below:

[Linker Error] 'Test.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

'Test.LIB' was generated by LabVIEW Application Builder and had been verified working well with Microsoft Visual C++
0 Kudos
Message 1 of 2
(1,081 Views)
Highlighted
"Murray Chen" schrieb im Newsbeitrag
news:506500000008000000D2310000-1005954886000@exchange.ni.com...
> In the linking phase, the linker of Borland C++Builder echoes the
> message shown below:
>
> [Linker Error] 'Test.LIB' contains invalid OMF record, type 0x21
> (possibly COFF)
>
> 'Test.LIB' was generated by LabVIEW Application Builder and had been
> verified working well with Microsoft Visual C++

Hi Murray,

Borland C++ Builder uses a .lib format which is not equal with VC++. You
have to rebuild your .lib by using implib.
Try 'implib library.lib library.dll' to create a new .lib.

Greets
Henrik
0 Kudos
Message 2 of 2
(1,081 Views)