andre lamothe source problem
I am having major problems compiling the source from tricks of windows game programming gurus chapter 9 onwards. When I compile, it goes through ok but when i execute the screen goes black then just goes back to windows environment.
If anyone could help me it would be much appreciated.
Just so you know, i have included the direct x lib in the project as well as in the search path and the link libs in the project.
As far as I can see, i have done everything the book says, but it wont execute. im using vc6
Run through the code line by line in the debugger, find out where things go wrong. If you don''t know how to use the debugger then learn, it''s a valuable skill.
February 20, 2003 03:45 PM
Typically this happens when it can not locate the image/sound files for the games. That said there are also some old Books (version 1.0 of the book) which had errors on the CD which caused this type of error. If the exe on the CD works then most likely it''s something to do with the image sound file locations. Otherwise you might have a bad CD. If you have a bad CD you should write SAMS and have them replace it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement