Re: Get data from object store
- From: "Bruce Eitman [eMVP]" <beitman.nospam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 16 Dec 2006 15:19:20 -0500
Not run time data, no, that wouldn't make much sense would it? So you turn
off your device (not suspend but remove power from the CPU) and then you
restart and have less memory available becuase the stack and heap of from
the previous run is used and not available. Just how many times do you
think that you could do that before you don't have any RAM left to use?
You must save data to a file.
But, you could change your system to do the power down as function of
suspend. And then have your bootloader handle the next reset as if it was a
resume... In this case your apps would still be running and never know that
it even happened. This will take some work on your part, but it should be
possible.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Anwar" <sm.anwar04@xxxxxxxxx> wrote in message
news:1166253237.540477.174510@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks bruce for your prompt reply. But isnt the idea of object store
is to persist application data?
Otherwise what is the use of it
Thanks and Regards
Mohammed Anwar
Bruce Eitman [eMVP] wrote:
I think that it is safe to say that application data in the Object Store
would not be available after restarting. Files on the otherhand whould
be
available. So save your work often.
--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net
Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member
"Anwar" <sm.anwar04@xxxxxxxxx> wrote in message
news:1166098666.182795.192850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
I am aware of the fact that windows ce has object store to persist data
at power down on a battery backed RAM.
I wanted to know ghow is it possible to retrive the data once power up
takes place.
I actually have a linked list which gets created dynamically.
How is it possible to persist the data in this list by somehow moving
it to object store and then retrieving it on power up.
Any ideas ???
Thanks in advance
Mohammed Anwar
.
- Follow-Ups:
- Re: Get data from object store
- From: Sue Loh [MS]
- Re: Get data from object store
- References:
- Get data from object store
- From: Anwar
- Re: Get data from object store
- From: Bruce Eitman [eMVP]
- Re: Get data from object store
- From: Anwar
- Get data from object store
- Prev by Date: Re: How do i can convert programs
- Next by Date: Re: Change MTU for gprs connection
- Previous by thread: Re: Get data from object store
- Next by thread: Re: Get data from object store
- Index(es):
Relevant Pages
|