LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Undefined Symbol

I'm trying to create a driver which accesses a program called Connects. When I build this driver, I get an error:
 
Undefined symbol '_Connect_ShowSWFP' referenced in "testDriver.c".
 
I have included the Connect.h file and the Connect.dll file which contain the function Connect_ShowSWFP function. What other reasons why this link error would occur.
 
Thanks ahead of time.
 
~Kat
0 Kudos
Message 1 of 3
(3,199 Views)
Hi Kat,

You need to include the DLL import library (.lib) for Connect.dll in your project, not the actual DLL. If you don't have one, you can create one by selecting Options >> Generate Import Library.  This command generates a DLL import library. LabWindows/CVI enables Generate DLL Import Library only when you have an include file in the Source window.

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 2 of 3
(3,198 Views)
Thank you, that is exactly what was wrong 🙂
0 Kudos
Message 3 of 3
(3,195 Views)