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

EasyCE 2.0 Assertion failed when HP 568 power off


EasyCE 2.0 Assertion failed when HP 568 power off

Postby draklava » Jun 18, 2002 @ 11:22pm

User avatar
draklava
pm Member
 
Posts: 79
Joined: May 15, 2002 @ 6:13am
Location: Atlanta, Albania, Wherever


many getsecondary calls

Postby draklava » Jun 21, 2002 @ 5:37pm

I am calling getsecondary() in a lot of functions (to draw various UI elements and stuff)

Is it possible that if this gets called when power is off it will cause an exception? Is it better to call it once and pass the pointer around?
User avatar
draklava
pm Member
 
Posts: 79
Joined: May 15, 2002 @ 6:13am
Location: Atlanta, Albania, Wherever


Postby Phantom » Jun 22, 2002 @ 8:42pm

Getsecondary() is already passing a pointer around, so it makes no sense to do that yourself. One thing that I modified in the Overloaded libraries: If your window is not the foreground window (this may be the case when you power your device up), don't draw to the physical display. Basically, all you have to do is add a 'return' to the 'update' function when your app looses focus.
Give me some good data and
I will give you the world
User avatar
Phantom
pm Insider
 
Posts: 913
Joined: Feb 21, 2001 @ 8:14am
Location: Houten, Netherlands


Return to Phantom's Forum


Sort


Forum Description

Discuss any of Phantom's projects here (Operation Nutcracker, etc.)

Moderators:

sponge, RICoder, Phantom

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