Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Migrate a Visual C++ 6.0 written project into LabWindows/CVI

Hello

I have an old project i have written with Visual C++ 6.0. Now, i want to add som new features with LabWindows, therefore i need to migrate this Project to LabWindows/CVI.
Is this possible and how?

Greets Florian
0 Kudos
Message 1 of 2
(2,955 Views)
National Instruments does not provide any tools to migrate Visual C++ projects directly to LabWindows/CVI projects. Project differences, library differences, and language differences (C vs. C++) would make it extremely difficult to develop a tool that does this in any sort of automated fashion.

Your options depend on what you want to do and the nature of your existing Visual C++ project.

1) If your Visual C++ project uses only C code (no C++) and only calls ANSI C and Win32 library functions, you could create a project in CVI and add your existing project's source files to the CVI project. The limitations make this a very unlikely option.

2) If your Visual C++ project is already or can easily be converted to a DLL, you can put a C interface on the DLL and call it from a new CVI project.

3) If you just want a little bit of functionality from CVI, you can add the CVI libraries to your Visual C++ project. Add the CVI71\extlib to the project's list of library paths, add the CVI71\include directory to the project's list of include file paths, and include the appropriate header files in your Visual C++ source files.

Could you describe your existing application, including what libraries it currently uses, and what functionality you need to add from CVI? We might be able to give you more specific guidance on choosing an interoperability path.
0 Kudos
Message 2 of 2
(2,945 Views)