This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Crash on exit


Crash on exit

Postby Guest » May 2, 2003 @ 10:21pm

Guest
 


Postby fzammetti » May 2, 2003 @ 10:22pm

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby refractor » May 3, 2003 @ 12:29am

Brain-storming:

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).
User avatar
refractor
pm Insider
 
Posts: 2304
Joined: Feb 5, 2002 @ 1:12pm
Location: Luxembourg


Postby fzammetti » May 3, 2003 @ 12:47am

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Kzinti » May 3, 2003 @ 1:20am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Crash on exit

Postby Kzinti » May 3, 2003 @ 1:23am

Kzinti
pm Member
 
Posts: 3238
Joined: Jan 13, 2002 @ 5:23am


Postby fzammetti » May 3, 2003 @ 1:55am

...and so I said to Mr. Gates: "$640 billion should be enough for anyone!"
User avatar
fzammetti
pm Insider
 
Posts: 1496
Joined: Jun 4, 2002 @ 6:21pm
Location: Omnytex Technologies


Postby Presto » May 3, 2003 @ 4:49am

<a href="http://www.pocketadventures.com/travel.asp"><img src="http://www.pocketadventures.com/images/ttc_banner.gif" border="0"></a>
User avatar
Presto
pm Insider
 
Posts: 763
Joined: Jan 20, 2003 @ 5:51am
Location: Kalesian Archipelago


Postby sadum » May 13, 2003 @ 7:46am

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. :roll: :roll: :roll: :?:
sadum
 


Return to PocketFrog & PocketHAL


Sort


Forum Description

SDKs for fast and robust device-independent access to Pocket PC display hardware.

Moderators:

sponge, Kzinti

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron