>  It is working ok  when my application is running but as my application can 
> also sense the phone call while not running, when i use PrefSetAppPreferences 
> at that time my system crashes.

Are you sure you are not accessing any globals or other restricted operations
which could cause the crash?  That is, if you comment out just the
PrefSetAppPreferences call do you no longer crash?

I am not aware of any limitation on calling that API from a notification or
alarm handler, but I wouldn't swear that I've changed some while that app was
currently running.

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

Reply via email to