Re: Get data from object store



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




.



Relevant Pages

  • Re: Idle Timeout Info
    ... It reads the values from the registry when ... not using GWES power managment. ... beitman AT applieddata DOT net ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Idle Timeout Info
    ... With that and what Voidcoder noticed, I was motivated to look at the control ... not using GWES power managment. ... beitman AT applieddata DOT net ... Applied Data Systems ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: ERROR: Power Handler function yield to low priority thread
    ... beitman AT applieddata DOT net ... then you device driver function is being called by power manager ... understanding is it could be a call to Sleep, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Repllog.exe sync with ActiveSync problem?
    ... beitman AT applieddata DOT net ... When I power off and then power on, I will see the ActiveSync sync ... Posting WM_NETCONNECTmessage ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Repollog.exe Parameters ?
    ... beitman AT applieddata DOT net ... > Usually ActiveSync can't sync with the device. ... If I power off and power ...
    (microsoft.public.windowsce.platbuilder)