LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Compatibility issue between CVI6.0 and CVI5.5

Hi all,

I have a problem when trying to rebuild a project using CVI6.0, the same project can be rebuild without any problems using CVI5.5. The project has some libraries that must be linked, and during this phase I get the following message "The file format of data.lib does not match that used by the current compatibility mode", and then "Aborted load of library data.lib". Unfortunately I cannot recreate or recompile "data.lib", and I don't know if settings can be made in CVI6.0 so it would accept these library files - as CVI5.5 does. Any info on this subject would be apreciated.

Many thaks
0 Kudos
Message 1 of 3
(3,178 Views)
The compatibility mode defines the way the compiler and linker interact with external libraries, and must match that of the libraries to be used and linked in the final application.

While from CVI6 on there are only two possibilities (Visual and Borland), until CVI5.5 there were others possible standards that you could choose while installing the product, among them Watcom and one or two more I don't remember at present.

Now, you can open CVI55 and look in Options >> Build options menu item in the project windows to see which compatibility mode the product is set, and set-up CVI 6 according to it if it is one of the allowed modes. In case you used a different compatibility mode I'm afraid recompiling the libraries is the only practible way (apart asking NI if there is a possibility to obtain the desired compatibility mode even for CVI6 🙂 )

To change the compatibility mode in CVI6 you must run the installation program again: since it will detect the product is already installed, it will prompt you some choices one of which is exactly "Change compatibility mode".

Message Edited by Roberto Bozzolo on 06-24-2005 10:37 AM



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,172 Views)
Many Thanks Roberto, changing the compatibility mode fixed the issue !
0 Kudos
Message 3 of 3
(3,148 Views)