Heya, just a little question...
Posted: July 18th, 2012, 3:17 pm
Hey, it's me again, the boring guy of the giant texts! Haha, Well, i haven't finished yet the lessons, i'm on 15, but i will see the 16 and 17 before finish, anyway, i just started another project, another game...
This time it's something really bigger than my first, i'm still doing the mechanics, using tons of arrays, structs and enums, and a damned math haha... But i had a small problem that made me curious, the game don't have anything yet, just the logic, no drawing, so, about 90% of the code remains "untestable" ( i have know idea if you can understand this word, but... i hope you did... ).
But, i made some junk at the Compose frame that i will fully delete before finish, just to test if the logics were working, and i think everything went fine. Buuuut... The game itself don't crash, but when you close the game ( hitting the red cross of death ) it shows something weird like that:
"A buffer overrun has occurred in Wow-Arena.exe which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program."
Can anyone of you guys tell me more about "buffer overrun"s? I tried to find out what was the problem and then the machine just said me that there was something wrong about this:
Well, i just want to know a little bit about this Buffer Overrun, the problem i can fix later, because i'm almost sure where the problem is, if i don't find the fix, then i come back here again to ask you guys for help, but for now, i just want to know about the buffer... =P
[/color]
This time it's something really bigger than my first, i'm still doing the mechanics, using tons of arrays, structs and enums, and a damned math haha... But i had a small problem that made me curious, the game don't have anything yet, just the logic, no drawing, so, about 90% of the code remains "untestable" ( i have know idea if you can understand this word, but... i hope you did... ).
But, i made some junk at the Compose frame that i will fully delete before finish, just to test if the logics were working, and i think everything went fine. Buuuut... The game itself don't crash, but when you close the game ( hitting the red cross of death ) it shows something weird like that:
"A buffer overrun has occurred in Wow-Arena.exe which has corrupted the program's internal state. Press Break to debug the program or Continue to terminate the program."
Can anyone of you guys tell me more about "buffer overrun"s? I tried to find out what was the problem and then the machine just said me that there was something wrong about this:
Code: Select all
#if defined (_CRTBLD) && !defined (_SYSCRT)
DebuggerWasPresent = IsDebuggerPresent();
_CRT_DEBUGGER_HOOK(_CRT_DEBUGGER_GSFAILURE);
#endif /* defined (_CRTBLD) && !defined (_SYSCRT) */
/* Make sure any filter already in place is deleted. */
SetUnhandledExceptionFilter(NULL);
UnhandledExceptionFilter((EXCEPTION_POINTERS *)&GS_ExceptionPointers);
[/color]