Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB-32 Link Error with Visual C++ 6

I have installed NI488.2 version 2.7 and on compiling I receive an error "gpib-32.obj : fatal error LNK1103: debugging information corrupt; recompile module". I found the following information on the NI website:

 

a) Discussion Forum, LabWindows/CVI: "Unable to use external compiler support in CVI 2009 with VC++ 2005"

 

b)  CVI 2009 KNown Issue #176800

 

c) Microsft KnowledgeBase #949009

 

The upstart of all this is that there is an issue with Visual Studio 2008 (which was apparently used to generate the .obj file) which causes this error. The Microsoft hotfix cited above addresses the issue for only VS2005, the solution does not apply to VC++ 6.0.

 

Questions:

 

1) Is there a known fix for this problem for Visual C++ 6?

 

2) if not, what is the latest prior release of NI-488.2 that is not affected by this problem? My best solution may be to use an older revision of NI-488.2.

 

Thanks for the help.

 

 

0 Kudos
Message 1 of 3
(3,766 Views)

Hi Gary,

 

There is no known fix for Visual C++ 6.  Microsoft didn't release a hotfix for this version.  As you mentioned, your best bet is to use an older version of 488.2.  I don't know how far back you will have to go offhand so I'll post again after I look into it a bit more.

0 Kudos
Message 2 of 3
(3,736 Views)

Hi Gary,

 

After looking into this a bit more, I've been able to build our examples for VC++ from the command line.  Please try this out:

 

  1. Navigate to C:\Documents and Settings\All Users\Documents\National Instruments\NI-488.2\Examples\Standard C\FindInstruments
  2. Open the ReadMe
  3. Copy and run the command found there
  4. Try the resulting executable
0 Kudos
Message 3 of 3
(3,683 Views)