Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

linking gpib-32.obj in Visual Studio

Solved!
Go to solution

Hi... I have recently started migrating a large series of projects under a single VC++/MFC solution from VS 2005 to VS 2015 under Windows 7. I downloaded and installed NI-488.2.15.5. I ran the updates on the installation. Among the myriad compile/linker errors that I am getting is "LNK1107 invalivid or corrupt file: cannot read at 0x658D" when GPIB-32.obj is linked. 

 

  -  Is this actually a corrupt file and, if so, is there another to use? (Somehow I doubt that this is the problem.)

  -  Is there a linker flag that needs to be set/unset?

  -  Any other suggestions?

 

Visual Studio documentation on this is pretty sparce.

 

Thanks in advance for your thoughts

0 Kudos
Message 1 of 2
(2,855 Views)
Solution
Accepted by topic author AgeeWasOut

Thanks for your views... I appear to have resolved this. It is important to include the updated headers along with the updated object file.

 

AWO

0 Kudos
Message 2 of 2
(2,831 Views)