> Will I been working on this all weekend and I cant find anything I have a
project in CW7 that  does
nothing but sets a alarm in 10 sec.  Will in 10 secs my palm blows up and I
dont know why.

When an alarm "goes off", there are two different events that are sent to an
application.  Have you added these events to your application's event loop?
I assume you have, because there's not sense setting an alarm if you aren't
going to respond to it.

So, are you processing one of them when your application crashes?  If so,
you should be able to use the debugger, POSE and breakpoints to find out
where you're crashing.

Remember that you don't have access to any global variables when processing
these events.  So, if you are using C++, you have to be careful, since
objects use virtual function tables (i.e. global variables).  Or, if you're
using plain ol' C, make sure that you aren't accessing any global variables
(including static declared variables).

I'm definitely not a Palm programming expert, but I did get my alarm to work
by referring to the SDK documentation and perhaps a few books.

HTH,

Jeff




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to