Skip to main content
GameDev.net gamedev.net
🔒 Locked

Weird Problem

Started by Esap1 Mar 4, 2000 at 3:59 PM 1 replies 400+ views
Original Post
Esap1
Esap1
I dont know if youve ever heard of this before, but when I run my program in VC6++, it wont show up any of my objects, but when I run the link on my desktop, which is the Same exact Program, its looks how it should, anyone have any ides?, Thanks a lot.
Esap1
Esap1
PLEASE PLEASE PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!
Qoy
Qoy
I think the problem probably lies in the current working directory. If you load your images with relative paths, as in "..\\Images\\Pic1.bmp" instead of absolute paths, as in "C:\\Games\\Project1\\Images\\Pic1.bmp" (which you probably do) then the current working directory might be set to the VC++ directory when you run it from inside the IDE. My suggestion is to set the current directory in your init function. There are probably some examples of this in the MSDN.
Good luck!

------------------------------
Jonathan Little
invader@hushmail.com
http://www.crosswinds.net/~uselessknowledge

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.