NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

A problem occurs using NiDAQmx in Borland C++ builder 6

Here I am writing code in Borland C++ builder 6, with NiDAQmx. I include the header file "nidaqmx.h" in my code, and also add the lib to the project. I only want to call the function DAQmxCreateTask(....), but it gives out error message, as following:
 
[Linker Error] 'D:\NI_DAQ\LIB\MSVC\NIDAQMX.LIB' contains invalid OMF record, type 0x21 (possibly COFF)
 
I don't know how to solve this problem, please give me help.
0 项奖励
1 条消息(共 2 条)
3,236 次查看
National Instruments does have an NI-DAQmx C import library for Borland, but it is only installed for CVI users. This import library is only installed with NI-DAQmx CVI support and is used when CVI is running in Borland compatibility mode or when CVI users use Borland as their external compiler.
Hope the following article will help you a lot.
0 项奖励
2 条消息(共 2 条)
3,233 次查看