belisa

hi,
well I have a program .exe done with visual c++, the problem : this only run when I setup the visual studio 2005 , I need that this program be independent .

thanks!



Re: Visual C++ General problem with a .exe

Bite Qiu - MSFT

what kind of appllication it is Is it using the .NET runtime, is there any managed code in your project if that is true, then you need to install .NET framework in your machine in order to run this application.






Re: Visual C++ General problem with a .exe

Sarath.

It's possible to link statically to the Dependant libraries. but it will increase your executable's size.





Re: Visual C++ General problem with a .exe

Sahir Shah

In addition to having the appropriate .NET runtime there may be other dependencies. The easiest way to get your program working on another computer is to create setup program using Visual Studio. Select new project | Other Project Types | Setup and Deployment | Setup Project and add your project to it. Build, and use the resultant msi to install your program on other computers.



Re: Visual C++ General problem with a .exe

belisa

Hello again, good I tried to install the .net framework 2,0 but error hits me on the execution "unit does not validate X:\"
also a friend told me that I should create a new project with release instead of debug that it is what I am doing.
This project is about to manage the usb port and use librarys and dll

thanks!