LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cin with C++ builder

I want to use a CIN witch is program with Borland C++ builder5. But when I compile, I have errors:Links erreur ...OMF OX... for cin.obj, labview.lib etc...
0 Kudos
Message 1 of 5
(2,545 Views)
AFAIK you can't use BCB to create CIN's, but have to use M$ VC 6.
Borland uses a different library (and obj) format , so that explains the
linker error.
You can use DLL's create with BCB though

regards,
Cees

jules51 wrote:

> I want to use a CIN witch is program with Borland C++ builder5. But
> when I compile, I have errors:Links erreur ...OMF OX... for cin.obj,
> labview.lib etc...
0 Kudos
Message 2 of 5
(2,545 Views)
I try with DLL, but when I compile the DLL with BCB, I have an error:[Lieur Erreur] 'C:\PROGRAM FILES\NATIONAL INSTRUMENTS\LABVIEW 6\CINTOOLS\LABVIEW.LIB' contains invalid OMF record, type 0x21 (possibly COFF)

I try to convert labview.lib, COFF to OMF with coff2omf.exe, but I have a file of 1koctets; so the compile is an error
0 Kudos
Message 3 of 5
(2,545 Views)
HI Jules51,

At install time (of LabVIEW) you are given the option to install the support libraries for Borland.

You may have to do a custom install to get at this option.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 5
(2,545 Views)
I re-install Labview with custom, but I don't find the support libraries for Borland
0 Kudos
Message 5 of 5
(2,545 Views)