I have a c++ application which outputs to screen using entirely DirectX9, running on Win7 64 Home.
It runs as normal in these circumstances:
- Debug Build, from within MSVC 2008.
- Release Build, from within MSVC 2008.
- Debug Build, by opening the compiled executable itself.
However, strange things happen when I run the compiled executable of the release build. The window is created as expected but no screen output. Nothing.
I can hear the sound working and the log file fills up. I thought maybe the working directory was wrong when running the executable but the log file reports the CWD is correct and indeed all filepaths to data files work.
I am stumped as to why my application will work fine in 3 of the four permutations, but not the most important one - the standalone release executable!
If anyone can contribute, I'd be most grateful.
Thanks
Si