01-28-2015 03:15 AM
We have a program that uses nidaqex.h and nidaq32.lib.
The program is written in Borland C++ Builder 2006.
Now we need to get the program to work in a newer PC.
The old Borland C++ Builder 2006 refuses to install on the newer PC so we planed to use Embarcadero C++ Builder XE6 instead.
When building the program in XE6 I get 10 linker errors typical: Unresolved External DIG_Out_Prt referenced from" and then my object file that uses the nidaqex.h and nidaq32.lib.
My guess is that I some other lib- and h-files.
The program is a 32-bit and the operating system is Windows 7 64-bit.
01-28-2015 08:28 AM
Hi Jangus,
nidaqex.h is from the legacy NI-DAQ driver [1] and not the MHDDK. NI does provide an installer for Windows 7 systems [2], but not for 64-bit variants. If you cannot change your OS bitness, then you need to change your driver to NI-DAQmx [3].
[1] Compile and Run Traditional NI-DAQ Examples with Microsoft Visual Studio
http://digital.ni.com/public.nsf/allkb/C8CC0C1EA6229B09862565E90044DDF3
[2] Traditional NI-DAQ (Legacy) for Windows Vista, Windows 7, and Windows 8
http://digital.ni.com/public.nsf/allkb/8EC9E81C3DE4E619862573930083BD7A
[3] NI-DAQmx 14.1
http://www.ni.com/download/ni-daqmx-14.1/4953/en/
Joe Friedchicken
NI Configuration Based Software Get with your fellow OS users
[ Linux ] [ macOS ]Principal Software Engineer :: Configuration Based Software
Senior Software Engineer :: Multifunction Instruments Applications Group (until May 2018)
Software Engineer :: Measurements RLP Group (until Mar 2014)
Applications Engineer :: High Speed Product Group (until Sep 2008)