LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can not load cin without Visual Studio installed

Hi
 
I have av lsb file that i can load into the cin and run without anyproblems on my computer that have MS VS2005 installed . But when i installed the program on another computer it says "cin not loaded". I have use the "Creating a CIN project in Visual Studio .NET 2005 using C++ for LabVIEW 8.0" that i found on the forum.
 
 
Any ideas?
 
/daniel
0 Kudos
Message 1 of 2
(2,662 Views)


@Greger wrote:
Hi
 
I have av lsb file that i can load into the cin and run without anyproblems on my computer that have MS VS2005 installed . But when i installed the program on another computer it says "cin not loaded". I have use the "Creating a CIN project in Visual Studio .NET 2005 using C++ for LabVIEW 8.0" that i found on the forum.
 
 
Any ideas?
 
/daniel


Your CIN has been compiled to link with dynamic link library versions of the Visual C runtime libraries. These libraries are not standard installed on Windows versions not at least one to two years newer than what the used Visual C environment is. So for Visual Studio .Net 2005 you probably need a Vista installation or maybe installing .Net 2.0 under XP might be enough.

You have a number of possible solutions:

1) Link the CIN with the static runtime libraries from Visual C.
2) Use an older Visual C environment that only uses msvcrp60.dll or earlier
3) Get rid of all runtime function calls in your CIN. For the most common C runtime functions, LabVIEW provides similar exported functions descriped in the External Code  Reference Manual.
4) Find the redistributable C runtime installer package for your C compiler and ship that together with your application and tell users to install that before running your application.

Rolf Kalbermatter


Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 2 of 2
(2,633 Views)