LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

error: Undefined symbol '___ImageBase' referenced in "c:\program files (x86)\national instruments\cvi2017\bin\msvc\cvistart.lib".

Dear All,

I am always getting this link error.

I suspect that the project I am trying to build was made in a previous CVI version.

Please help

 

Francesco

 

0 Kudos
Message 1 of 6
(3,376 Views)
0 Kudos
Message 2 of 6
(3,358 Views)

Thanks for your reply.

Can be a windows releted problem? one collegue has windows 7 and it seems to compile and build fine but I have windows 10.

 

Francesco

0 Kudos
Message 3 of 6
(3,354 Views)

I have made some more experiments.

I started from the example here: https://www.ni.com/en/support/documentation/supplemental/09/calling-a-dll-in-labwindows--cvi---expli...

It works fine.

Then I added the .lib and .h that I need to use and added some simple code just to open an USB communication.

I get the same error I get in my project.

If I comment the line with hid_open then no problem.

I am attaching the modified example in case of need.

Thanks


Francesco

0 Kudos
Message 5 of 6
(3,345 Views)

Update: in CVI2010 the project can be successfully compiled and built. In CVI2017 not.

So maybe there is some kind of issue with 32-bit DLL managing in CVI2017.

0 Kudos
Message 6 of 6
(3,321 Views)