DirextX and release mode?!?
Hello al. Me and a few friends are doing a RTS using direct draw. When we are in dubug mode, all icons/bitmaps, everything works fine. We go into release mode, and, well, all the icons no longer show up. Has anyone else had this probelm? And if so, how did ya fix it? Any input would be greatly appreciated. Thanks ahead of time
PrettyB
Have you moved all of the bitmaps into the release directory? It can''t display them if it can''t find them
-David
-David
Hmm, shouldn''t it not matter whether it''s release or not because when you run through the Visual C++ IDE, it uses the root directory of your project as the working directory for your prog
He didn''t say whether or not he was running from Visual C++. That was the only thing I could think of without being a problem with the code.
-David
-David
The Debug/Release issue is often due to relevant program code inside of ASSERT macros, which will not be compiled in Release builds, e.g.: ASSERT(hBmp = LoadBitmap(...));
If that''s the case, simply replace ASSERT with VERIFY and it''ll work just fine.
If that''s the case, simply replace ASSERT with VERIFY and it''ll work just fine.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement