Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Release Mode - VC++

This topic is 5445 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

We are building an application that plays wave files (DirectX). Everything works fine if we have the Visual Studio development environment open and run our program, however, if we close Visual Studio and run the application we can no longer hear the sound play. Does anybody know why it would do this and how we can fix it. Thanks, Andrew

Share this post

Link to post
Share on other sites
Sounds like wrong working directories.

You may have already taken this into account, but if you have a default build system with:


then the CWD is project

if you try and run either of the the prog.exe it will not find files that are opened relatively.

You can fix this by copying the executables to the project directory or changing the project settings to build into a different directory with your data files (or file structure).

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!