Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I call NI-DAQmx with Borland Builder C++

Hello,
how can I call NI-DAQmx functions with Borland Builder C++?
Thank
Fabrizio
0 Kudos
Message 1 of 6
(5,535 Views)
You should use the ANSI C API to call NI-DAQmx with Borland Builder C++. For more information, see the DAQ Quick Start Guide, the NI-DAQmx Help, and the NI-DAQmx C Reference Help under Start>>Programs>>National Instruments>>NI-DAQ.
0 Kudos
Message 2 of 6
(5,520 Views)
Hi,

I have the same problem as Fabrizio !
I can run properly the DAQmx ANSI C functions with VC++ but I can't use them with Borland because of a compliance problem.
So I tryed to use the Coff2omf software to create a correct ".lib" file ...

But it still doesn't work ...

Thanks

Julien
0 Kudos
Message 3 of 6
(5,389 Views)
If the tools that Borland provides for converting import libraries don't work for the the DAQmx import libraries, I think your only option will be to link explicitly to the DLL through LoadLibrary and GetProcAddress.
Message 4 of 6
(5,383 Views)
You can get the Borland import library for DAQmx from here.
Hope this helps
Bilal Durrani
NI
Message 5 of 6
(5,363 Views)
Thank's Bilal !!!

It works !!

Julien
0 Kudos
Message 6 of 6
(5,357 Views)