• Advertisement

Archived

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

App doesn't run properly outside of Vis. Studio

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

Hi, My DirectX8.0 app runs okay from within Visual Studio. If I copy the .exe file to a different directory (along with images etc) and run it, it looks like frontface culling has been switched on, and fog disabled, and basically looks terrible. Can anyone tell me what''s up? I''ve tried both the Release and Debug .EXEs, both have same problem.......but it runs okay from within Studio!??! Is DX changing something? The app was built in dx8.0 (mostly in college), but I have DX9.0 on my machine - could this be the problem? It still runs okay thru studio, though..... Cheers, DM

Share this post


Link to post
Share on other sites
Advertisement
Hi!

No DX changes nothing. DX is also backward compatible, so you could write for DX 3 with the DX 9 sdk and still get the results you program.

The error is yours somewhere.

Share this post


Link to post
Share on other sites
ummm have you try''ed running it without VS but in the first folder, also Visual Studio deals with file paths differently during debug so check to make sure that your images and resources are right next to your EXE, rather then in the folder above the EXE(ie. exe->Debug folder, Imges->Main Proj folder). But I do agree with RhoneRanger, DX changes nothing, you should be able to run with or without VS.

Share this post


Link to post
Share on other sites
Are you checking the return values in all of your function calls? Possibly your app is failing to load its resources or otherwise set up its environment.


Stay Casual,

Ken
Drunken Hyena

Share this post


Link to post
Share on other sites
Thanks guys, fixed it now - think it was to do with the paths to the resources.

"The error is yours somewhere."

I appreciate your cold, clinical honesty, RhoneRanger!

Cheers
D

Share this post


Link to post
Share on other sites

  • Advertisement