From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, 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: 

Linking a MSVC Library with CVI 5.0.1

I have a CVI 5.0.1 project where I'm linking in a libary compiled under Microsoft Visual C/C++ V6. I get a 'Bad header encountered while reading external module' while linking. Since the same project compiles/links just fine with CVI V7.1, I'm guessing CVI 5.0.1 doesn't support Visual C V6. Is this correct? If not, any thoughts on why my link in 5.0.1 won't work? I've been searching NI's website but can't find the answer.
0 Kudos
Message 1 of 3
(2,885 Views)
Visual C++ 6.0 came out after CVI 5.0.1 and Microsoft changed the object code format in version 6.0. So we couldn't be compatible in CVI 5.0. There is a knowledgebase article on how to work around this at: http://digital.ni.com/public.nsf/allkb/6A381D116E127FBE862566890072B3AE
0 Kudos
Message 2 of 3
(2,883 Views)
Thanks for the info and the link!
0 Kudos
Message 3 of 3
(2,878 Views)