Direct Draw Initializtion Problems
I am work my way TWGPG and I made a quick program that would draw pixels from a randomly generated pallete to random points on the screen. However I can''t get DirectDraw to create an object. The program compiles without errors. It doesn''t return any error message that I have a handler for(about 10). A little help in ways to debug this would be appreciated. Thanks.
InFerN0
InFerN0Not all who wander are lost...
If your error checks are not failing, then how do you know a DirectDraw object is not being created? Be a bit more specific, and maybe post your creation code as well. With more info, we can get somewhere.
--- Official D Blog | Learning D | The One With D | D Bits
If you are still stuck trying to find what the error is, get the error number (by either putting a breakpoint there and checking the debugger or printing it in a MessageBox or something). The lowest 3 digits are the error code - look a the very end of the ddraw.h file for a list of all errors.
Grandpa Simpson - "I never thought I could shoot down a German plane, but last year I proved myself wrong!"
Grandpa Simpson - "I never thought I could shoot down a German plane, but last year I proved myself wrong!"
---Grandpa Simpson - "I never thought I could shoot down a German plane, but last year I proved myself wrong!"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement