02-07-2011 09:03 AM
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.126.96.36.199152
with comment: "2010/06/30 22:10:31, nivxint/win32U/i386/msvc71/release"
Does anybody have an idea?
02-17-2011 07:37 AM
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"
Maybe you can apply that fix to VS 6 too...
02-18-2011 06:03 AM
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