LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

problem about lib created in labwindows used in VC6.0

Hi, all

I have a lib(and dll, .h) commicated between mobile phone and pc. It was built in labwindows. And now i add then into my vc6 project. There is a warning "warning LNK4003: invalid library format; library ignored" when i compiled the project.
I am sure the lib(and it's dll, .h files) could used normally in labwin program. But why  it  cann't used in  vc6 project?

Thank you!

problem about lib created in labwindows used in VC6.0
0 Kudos
Message 1 of 2
(2,825 Views)
You should make sure that when you generated the .lib in CVI, CVI was set to use the Visual C/C++ compatibility mode. You can check this in the Build Options dialog in CVI.

Luis
NI
0 Kudos
Message 2 of 2
(2,816 Views)