LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

From my LW/CVI application, how do I get the linker to search Borland C++ 5.02 .lib files?

(a) I've got the header files OK during the compilation phase, but how do I get LWCVI to search Borland .lib files to satisfy unresolved library references?

(b) Do I have to set up stuff like segment names?

(c) What about all the different Large, Medium, Huge, yadda yadda, memory models?
0 Kudos
Message 1 of 3
(3,065 Views)
a) Are you set for the correct compatibility mode before adding the .lib file to the project? LabWindows/CVI can be compatible at the object code level with both of the compatible external compilers (Microsoft Visual C/C++ and Borland C/C++). Because these compilers are not compatible with each other at the object code level, LabWindows/CVI can be compatible with only one external compiler at a time.

If you want to change the compatible compiler, run the installation program again. You can specify the default compiler compatibility mode in the Select LabWindows/CVI Compatibility Mode panel of the Measurement Studio Setup.

b&c) I don't believe you have to set these items explicitly.

regards,
Eric Meyer
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,065 Views)
Dear Eric,
You wrote: a) Are you set for the correct compatibility mode before adding the .lib file to the project?
Answer: Yes -- Refer to attached file of the dialog box "Build Options".

d) Do I have to explicitly search all of the Borland .lib files to satisfy unresolved library references?

e) I'd like to just specify the directory -- eg: c:\bc5\lib -- Can I do this? Where?
0 Kudos
Message 3 of 3
(3,065 Views)