Is it possible to programmatically query if NI-DAQmx is installed? In our application, some of our customers want to include analog signal input in our software. However this will be a small minority of our customers. We don't want to include the NI-DAQ install for everyone. What would be best is that the customers who want the analog input feature install the NI software with their input device. Then my software would query if NI is installed and then dynamically link to it. (note, we are using ANSI C - including
nidaqmx.h and linking to nidaqmx.lib)The problem is, linking to
nidaqmx.lib requires that the NI-DAQmx dll's be installed.
I'm hoping to avoid using LoadLIbrary and GetProcAddress, as there are a large number of functions to keep track of. One possibility is if there is a minimal set of DLLs that we can include with our application. Enough that the application will load, but that don't need the whole install.