Advertisement

andre lamothe source problem

Started by February 20, 2003 07:45 AM
3 comments, last by dboymax 21 years, 8 months ago
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.
Advertisement
humm...post some code...
Programmers of the world, UNTIE!
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.
I recieved the source from andre lamothe himself. he assured me this was the latest source and should work "perfectly". i''ll try and see about the images (think your right on that one) and see what happens. if that dont work, i''ll post some code. thanks for the help.

This topic is closed to new replies.

Advertisement