Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Making a .dll file in Visual Studio from a NIDAQmx C program

I have a C program in Visual Studio that reads temperature from DAQs. I wanted to take this c file and put it into a shared library project in Visual Studio. However, when I try to run the program, it gives me 10 errors that look like this:
unresolved external symbol DAQmxCreateTask referenced in function main
I have NIDAQmx.h included in the project so I'm not sure why CreateTask is considered an external symbol. I'm not sure what causes this problem, could anyone help?

 

Thank you!

0 Kudos
Message 1 of 1
(4,280 Views)