NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Achim L.
Posts: 13
0 Kudos

nivxint.lib LNK1103

Hi,

compiling applications with Microsoft Visual C++ 6.0 and the NI-NXI 3.7 coming with recent VXIpc880 controllers,

ends in a linker error:

nivxint.lib(cvxi.obj) : fatal error LNK1103: debugging information corrupt; recompile module
This can also be reproduced with example programs like VXItrig, which can be found under:

C:\Program Files\National Instruments\VXI\NIVXI API\win32\msvc6\Examples\trigger.

 

I never had problems of this kind on older NI-VXI revisions.

 

nivxint.dll under windows\sytem32 has rev.3.7.0.49152

with comment: "2010/06/30 22:10:31, nivxint/win32U/i386/msvc71/release"

 

Does anybody have an idea?

 

Best regards,

Achim

Active Participant SFK
Active Participant
SFK
Posts: 328
0 Kudos

Re: nivxint.lib LNK1103

Hi Achim,

 

 

this error is probably cominig from VS. There is a similar issue known in VS 2005 SP1:

 

FIX: Error message when you build a project in Visual Studio 2005 SP1 after an .lib file or an .obj file that was built by using Microsoft Visual C++ 2008 is added to the project: "Fatal error LNK1103: debugging information corrupt"

http://support.microsoft.com/kb/949009/en-us

 

Maybe you can apply that fix to VS 6 too...

 

Best regards,

Sebastian

 

Member
Achim L.
Posts: 13
0 Kudos

Re: nivxint.lib LNK1103

Hi Sebastian,

 

thank you for your reply. Installing the newest VC2005 redistributables didn't solve the problem.

I think there is a more basic problem:

NIVXI generally comes with supporting .lib files for Borland C++, cvi, Ms Visual Basic6 and also ms Visual C++ 6.

 

The last one is by default installed in

C:\Program Files\National Instruments\VXI\NIVXI API\win32\msvc6

 

Looking into the 3.7 nivxint.dll's dependencies with e.g. DEPENDS.EXE makes me wonder,

why it depends from MSVCR71.DLL...MSVCP90.DLL

Comparisons with another VXIpc880 system, which came a year ago with NI-VXI 3.5,

showed that nivxint.dll depends only from MSVCR71.DLL...MSPVP71.DLL in that configuration.

And on these systems compilation and binding to nivxint.lib did never cause such problems.

 

Best regards and thank you again for your hint

 

Achim

 

 

 

 

 

 

 

 

 

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page