I am moving my project from Visual C++ 6.0 + Measurement Studio 6.0 to Visual .NET + Measurement Studio 7.1. I installed Measurement Studio 7.1 in a differnt directory (c:\program files\new national instruments\). When I compile the migrated project, it had several of NI class related error as follows:
To me it looks like that there are some of the NI resources missing or not linked properly. I would suggest creating a new Measurement project in .NET and adding your code files to that project. This should take care of most of the link errors.
The Microsoft resources provided by WantToGolf also provides good information on these errors and will help you understand why these error occur. Also, did you use the VS.NET upgrade wizard to migrate your 6.0 code to .NET code?
The definitions of CString class has changed from VC 6.0 to VC 7.1. I ended up having to re-compile some lower level libraries in order to link properly. Although this KB article is directed at a different VS2002 to VS2003 issue, you might check the follwing from Microsoft for some background info on the subject.
A very interesting obervation by Zambiniman. I think this should solve the problem with CString. The microsoft KB adresses a very similar situation.
I would say that the CNiString would be having a similar problem and you probably will need to compile the low level include files again. But since you installed MStudio 7.1 and new VS.NET, I think this error should be fixed by just having a correct link for the new include file, which is missed during migration of VS 6.0 code to VS.NET code.