Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Having trouble moving an application developed in VC 6.0 to .NET

We recently changed our DAQ card from the E to the M series and this requires .NET and Measurement Studio 7.x for the software platform. Our projects were written in Visual C++ 6.0 with Measurement Studio 6.0. I had to move the apllication to .NET plattform and installed Measurement Studio 7.1. However, when I complited the project, there were many errors from the NiIncludes.h that the compiler was not able to locate the .h files. I manually typed in the full path and it works. Now the compiler chokes on a simple command (such as "sqrt") in the include files from measurement studio (it is from the 6.0 version). I hope that you will have a suggestion on how to migrate from Visual C++6.0 to .NET and from Measurement Studio 6.0 to 7.1

Thanks,
Yajai
0 Kudos
Message 1 of 2
(3,136 Views)
In "Solution Explorer", right click on the project name. Select properties in the pop up menu. Find C/C++ folder and open it. Select "General" and look at the pan on the right. Find "Additional Dependancies" and add the directories where your files are located.

When you receive a compiler error that will allow the compiler to find additional files in other directories. If you receive linker errors select "Linker" instead of "General".

As for your "sqrt" function you must find out if it's defined in a library or not.

Hope this helps.
0 Kudos
Message 2 of 2
(3,129 Views)