Well, first, if you need them to last across a reset, perhaps you should consider 
using a preference instead.
Second, if you really, really need to do it with a feature, you can handle 
sysAppLaunchCmdSystemReset and reinitialize the value at that point.  Of course, if 
you do it that way, you should consider where you are getting the value from to begin 
with, and can you just retrieve the value the same way, without using the feature.

-Jon

--------------------------------------------
Jonathan Hays
Palm OS Certified Developer
http://hazelware.luggle.com
--------------------------------------------


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Raymond
Ho
Sent: Tuesday, April 13, 2004 8:30 AM
To: Palm Developer Forum
Subject: Re: max. no. to store feature value in dynamic heap


what should I do if I need to restore the features values after reset ?

"Douglas Handy" <[EMAIL PROTECTED]> ??? news:[EMAIL PROTECTED]
???...
> Ray,
>
> >Is there any limitation to use feature manager to store feature variables
in
> >dynamic heap ?
>
> Read the docs on FtrSet(), specifically:
>
>  "A feature that you define in this manner remains defined until the next
system
> reset or until you explicitly undefine the feature with FtrUnregister. "
>
> They don't last across a reset...
>
> Doug
>



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

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

Reply via email to