Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi

I have a code that is written wiht Visual C++ 6 ( it is a GUI code) , I need to download this code on another PC as a software (Application). I have been told that i need to create an exe file. but can anyone let me know what the best way is please ?

What I have tried:

I have tried to run the code using Visual Studio 2015, but it kept giving me several errors although it works perfectly find when i run it with Visual C++6.
Posted
Updated 11-Jul-18 9:48am

Every time you're run your code under the debugger on your machine, you created an .EXE. It's in your project folder, under the bin folder in either Debug or Release.
 
Share this answer
 
Comments
Baderd94 13-Jul-18 17:34pm    
It worked thank you a lot
Quote:
but can anyone let me know what the best way is please ?
Yes, the best way to do that is to build the project.
Quote:
I have tried to run the code using Visual Studio 2015, but it kept giving me several errors although it works perfectly find when i run it with Visual C++6.
You would definitely need to have the project built. The errors are there to tell you what you need to do. The program written in the Visual C++ 6 might have some standard issues with the Visual C++ version you are using right now, or they might have been marked obsolete based on, security issues, or something.

Provided you did not share the code, there is less we can help you with. But in most cases, it is better to build the project using Visual C++ 6.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900