LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using static MSVC6.0 compiled libraries from LabWindows/CVI

I tried to use a static library (from third part supplier) compiled with MSVC 6.0 from LabWindows/CVI.
1. I added #include "MyLibrary.h"
2. then I added MyLibrary.lib into project

but I get linker error messages - "undeefined symbol ""MyLibraryFunctionName""
0 Kudos
Message 1 of 2
(3,086 Views)
CVI is not a C++ compiler so make sure you compiled your library with your functions in C format with extern "C" statements. Also, you should list the VC++ and CVI version you are using on this type of question. An older version of CVI might not read a static lib from VC 6.0.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 2
(3,086 Views)