denniswrenn
Jul 10th, 2001, 10:22 AM
I already posted this in the games and graphics forum, but most of them seem to be VB people... Can anybody tell me why this code isn't working correctly(it's too long to post again)?
http://www.vbforums.com/showthread.php?s=&threadid=88370
When I remove the if's in InitGame() it goes directly into full screen mode at 640x480, but if I add the error checking code(the if's) it goes into full screen mode, but I have to push escape to change the resolution, then hit escape twice more to exit the program, but it exits with an error, it says:
"The instruction at "0x38574152" referenced memory at "0x38574152". The memory could not be "read"."
Is this a problem with my l33t(;)) Dx code, or is it something else I'm doing horribly wrong?
Thanks,
-Dennis
http://www.vbforums.com/showthread.php?s=&threadid=88370
When I remove the if's in InitGame() it goes directly into full screen mode at 640x480, but if I add the error checking code(the if's) it goes into full screen mode, but I have to push escape to change the resolution, then hit escape twice more to exit the program, but it exits with an error, it says:
"The instruction at "0x38574152" referenced memory at "0x38574152". The memory could not be "read"."
Is this a problem with my l33t(;)) Dx code, or is it something else I'm doing horribly wrong?
Thanks,
-Dennis