Jump to content
  • Advertisement

Archived

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

Parabolic

I can't render outside of VC++ 6 IDE...

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

I have a directx 9 test app running fine when I run it out of the VC++ 6 IDE. However, when I switch to release output, and try to run the .exe file by itself I get a black screen with only my framerate displaying (using D3DXFont). Has anyone seen this before?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
what is the app supposed to do

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
what is the app supposed to do

Share this post


Link to post
Share on other sites
Is you application using external resourses like textures, meshes etc.? and are you doing enough checking to make sure that these resourses are actually being loaded?

Then, is your release application able to find these resources when run outside the IDE.

Share this post


Link to post
Share on other sites
Yeah, really sounds like a directory problem. If it works in VC++ then your working directy is set to the right place. Remember when running outside of VC, your working directory starts in the same directory that the .exe is located in.

Example...if you run the .exe from the Release folder that''s generated when you compiile in release mode, then your resources (textures, meshes, etc) need to be in the Release folder as well, or at least point your directories to ../whatever.tga

Share this post


Link to post
Share on other sites
You guys rock! You hit the nail on the head, my unlit textured vertices didn''t show up because the texture wasn''t there. I haven''t added error checking yet since it was supposed to be a simple app, but I guess this teaches me a lesson.

Thanks again!

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!