Sign in to follow this  

visual c++

This topic is 3588 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

The built application is stored in Debug or Release directory. Where these folders are depends on the version of visual studio that you are using, but they are somewhere inside the solution directory.

Deploying an application takes a lot more work, i would suggest making sure that it works when run from the Debug or Release folder before you consider distributing it using an installer or some such.

Share this post


Link to post
Share on other sites
I am a bit unclear as to what you want to do.

Do you mean:

- Run the game from the developement directory without having to use Visual Studio?

- Distribute your application with an installer?

Share this post


Link to post
Share on other sites
Quote:
Original post by Dave
The built application is stored in Debug or Release directory. Where these folders are depends on the version of visual studio that you are using, but they are somewhere inside the solution directory.

Deploying an application takes a lot more work, i would suggest making sure that it works when run from the Debug or Release folder before you consider distributing it using an installer or some such.

Excellent explanation but here's some additional clarification which may help from a Visual Studio perspective:

1) When building a final release version look up at the menu bar where the "Run" button is. There should be a dropdown beside this which reads "Debug". Change this value to "Release" and build the application.

2) Navigate to your projects folder and you should have a sub-folder named "Release". Within this folder will be your final .exe (or DLL or w/e you built) which you can then double-click just like any other Windows application.

When you build a debug version this cannot be run on a non-development machine as the required run-time libraries will not be available and as a result the application will crash.

Share this post


Link to post
Share on other sites
Not if you include the appropriate DLLs. Some of the demo executables of graphics engines are debug versions. Or at least if you build the source code you get a debug version by default unless you explicitly set it to release.

But normally there would be absolutely no reason at all to want to distribute a debug version of anything. And it's slightly more complicated than just finding the *.exe and running it even for the release version.

You also need ALL the resources that the application uses. Such as graphics, geometries, scripts, third party DLLs etc.

m0ng00se

Share this post


Link to post
Share on other sites
Quote:
Original post by m0ng00se
Not if you include the appropriate DLLs.

And by doing so you would be committing copyright infringement, at least if you are using Visual Studio. According to Microsofts licensing terms, you are not allowed to distribute debug runtimes.

Share this post


Link to post
Share on other sites

This topic is 3588 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this