From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,840 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
(2,818 Views)

I have made some more experiments.

I started from the example here: http://www.ni.com/example/31151/en/

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
(2,809 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
(2,785 Views)