Re: Saving Objectstore to a WinCE OS device



On Apr 17, 11:43 am, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
I don't think that you want to do this. You'd be a *lot* better off to have
a flash filesystem, mounted as the root of the filesystem, so that you don't
have to worry about files going away when power is removed. The format of
the object store is not documented, probably changes on a daily basis and,
other than the standard APIs for things like files, etc. doesn't provide a
means to get to the raw data.

Paul T.

"Elmo" <relm...@xxxxxxxxxxxxxxxxxx> wrote in message

news:1176815324.272763.272260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx



I currently working on a project that have requirements to save the
registry andobjectstoreon system power down. I currently
inplemented a power down interrupt that detects when the power key is
pressed by the user and flushes the registry to on board flash.
Unfortunately I have no idea how to flush or save theobjectstoreto
the onboard flash storage device. I know for flushing the registry, I
call the RegFlushKey(HKEY) function a number of times to flush the
full registry, but I don't know of a way to flush or save the
Objectstore. Would anyone have any ideas of where to start or where
to look to get documentation onsavingtheobjectstorefrom within the
WinCE OS image.- Hide quoted text -

- Show quoted text -

Paul T. I don't understand. Are you saying that I need a TRUEFFS
(True Flat File System) mounted on the device.

.



Relevant Pages

  • Re: Saving Objectstore to a WinCE OS device
    ... have to worry about files going away when power is removed. ... pressed by the user and flushes the registry to on board flash. ... Unfortunately I have no idea how to flush or save the objectstore to ...
    (microsoft.public.windowsce.embedded)
  • RE: Want to save data
    ... save the data to registry. ... i have a flash on my board.On power up it start downloading image from FLASH ... the system it start downloading fresh image from FLASH, so i am not able to ...
    (microsoft.public.windowsce.platbuilder)
  • Re: FlashROM as a disk in CE 5.0
    ... FileSystem Starting - starting with clean file system ... Lower flash. ... 0x83fc8994: FLASHDRV.DLL:Unable to initialize FLASH Media Driver. ... I have added the Registry settings to Project.reg file like ...
    (microsoft.public.windowsce.platbuilder)
  • Re: New ARM Cortex Microcontroller Product Family from STMicroelectronics
    ... the bandwidth of the Flash memory. ... power to the peripherals, although since they are not performing work ... but only at higher frequencies when waitstates are used. ... benchmarks go twice as fast just because of hardware divide). ...
    (comp.arch.embedded)
  • Re: WinCE 5.0 RegFlush on Cold Boot
    ... the highest risk when using flash is full corruption due to power ... I know that this is not what is happening and I'm sure this registry flush ... at boot would not wear out a flash block for years. ... constantly it would still last a decade before you had a failure. ...
    (microsoft.public.windowsce.platbuilder)

Loading