Undefined Symbol Error When Importing a DLL in LabWindows™/CVI™ Project

Updated Nov 1, 2018

Reported In

Software

  • LabWindows/CVI Full

Issue Details

I am trying to import a DLL into LabWindows/CVI, but I'm getting errors which are referenced as Link Error or Undefined Symbol errors, or errors searching for the missing DLL. 

Solution

You must ensure that the header file (ending in .h) and the import library (.lib) are both included in the LabWindows/CVI project. Also, make sure all the names in the .h and .c match. The DLL or source code which you are trying to import also needs to be in the same directory as your LabWindows/CVI application.

Additional Information


The "Undefined Symbol" error is generic and can appear in a lot of cases. Other cases in which you could get that error are listed in related links.

WAS THIS ARTICLE HELPFUL?

Not Helpful