What datatype is "ExitFadeCounter" (not that it should actually matter in this case)?
Slightly more "scientifically", looking at the address that it died at on my iPaq, it died in the process's DLL (mapping) space, not in the executable itself. Perhaps you're sending a bad parameter to a DLL function?
So:
Check that GetDisplay() is giving you a valid return?
Put an assert on ExitCounter to make sure that when you use it in DrawLine, it's not negative (in case something else has inadvertantly trashed it).
Your other "external" calls look "safe" (though I don't know the PocketFrog library).
Posted: May 3, 2003 @ 12:47am
by fzammetti
Posted: May 3, 2003 @ 1:20am
by Kzinti
Crash on exit
Posted: May 3, 2003 @ 1:23am
by Kzinti
Posted: May 3, 2003 @ 1:55am
by fzammetti
Posted: May 3, 2003 @ 4:49am
by Presto
Posted: May 13, 2003 @ 7:46am
by sadum
Hi there, I've also encountered the same problem regarding the shutdown function. I think the problem lies on the Shutdown() function itself. In my code, I call up Shutdown during StylusUp. In the emulator, the program doesn't crash, but when I tried it on my Casio E200 pda, got a fatal error message n my pda freezes. Now, I am not sure whether this problem is cause by pocketfrog's incompatiblity with E200. tried to call Shutdown in the game loop also gives the same result. The only way I could shutdown safely is if I were to press the hardware button or D-Pad. Note that I didn't used the ButtonPress function call in my code.