AFAIK, Measurement Studio is a suite of products, one of which is LabWindows/CVI.
If you want to compile CVI code in VC++, you can do so but you have to make sure the appropriate environment is set, and preprocessor directives are included, and CVI run-time libraries are included.
When you install CVI, assuming VC++ is already installed, a new wizard called
'NI Measurement Studio AppWizard' appears in the VC++ File|New|Projects dialog. It has several uses, but you can use this AppWizard to convert a CVI project to an MSVC++ project with [approximately] the right environment and libraries included.
Otherwise, have a look in the CVI on-line help, particularly the
'Programmer Reference|Compiler/Linker Issues|Compatibility with External Compilers' and
'Programmer Reference|Compiler/Linker Issues|Using LabWindows/CVI Libraries in External Compilers'Martin.
--
Martin
Certified CVI Developer