Re: Saving Objectstore to a WinCE OS device
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Wed, 18 Apr 2007 10:46:13 -0700
FORGET ABOUT THE FACT THAT YOU'RE USING TRUEFFS. It's just a filesystem.
ANY filesystem can be used. You can try looking up MountAsRoot in the help.
It should indicate that this particular registry key is deprecated, but
should lead you to the replacement.
Paul T.
"Elmo" <relmore@xxxxxxxxxxxxxxxxxx> wrote in message
news:1176915206.523525.113950@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Apr 18, 12:04 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
Then the best way to do that is to follow my original suggestion. That
is,
instead of storing those objects in RAM, youstorethem on "disk", flash
probably. If you have a TrueFFS 'disk' and it's presently mounted as a
folder in the overall CE filesystem, you can change the settings for it
in
the registry and mount it as the root and you'll be 80% of the way to
fixing
your problem.
Paul T.
"Elmo" <relm...@xxxxxxxxxxxxxxxxxx> wrote in message
news:1176910241.174168.96620@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Apr 17, 5:15 pm, "Paul G. Tobey [eMVP]" <p space tobey no spam AT
no instrument no spam DOT com> wrote:
I don't recall mentioning TrueFFS, no. However, you can mount a
persistent
filesystem, any persistent filesystem, as the root of the Windows CE
filesystem so that every folder that you see is persistent, \,
\Windows,
\Temp, etc. In that situation, I don't think that you'd have to
persist
anything but the registry (which you couldstorein the filesystem, as a
hive, also). What, specifically, are you worried about losing from
the
objectstorewhen power is removed? That will help us assess what your
options are.
Paul T.
"Elmo" <relm...@xxxxxxxxxxxxxxxxxx> wrote in message
news:1176843701.230834.65850@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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
theobjectstoreis 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 tosavethe
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 orsavetheobjectstoreto
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 orsavethe
Objectstore. Would anyone have any ideas of where to start or
where
to look to get documentation onsavingtheobjectstorefrom within
the
WinCEOS 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.- Hide quoted text -
- Show quoted text -
Paul T. I am new to the objectstore, so forgive my lack of
knowledge. From some of the information I read and recieved from
other sources, I gathered that the desktop shortcuts, directory
structure, folders, and databases are stored in the objectstore. I
want to make sure these items are saved during a power ON/OFF cycle.
I thought when you mentioned File system that you was refering to a
TRUEFFS, which is what we have partially integrated into the OS image.-
Hide quoted text -
- Show quoted text -
I am using Platform Builder for WinCE 5.0. Do you guys know of any
documentation or white papers that discuss this process of saving the
ojects to TrueFFS that is mounted as the root of the filesystem
.
.
- Follow-Ups:
- Re: Saving Objectstore to a WinCE OS device
- From: Elmo
- Re: Saving Objectstore to a WinCE OS device
- References:
- Saving Objectstore to a WinCE OS device
- From: Elmo
- Re: Saving Objectstore to a WinCE OS device
- From: Paul G. Tobey [eMVP]
- Re: Saving Objectstore to a WinCE OS device
- From: Elmo
- Re: Saving Objectstore to a WinCE OS device
- From: Paul G. Tobey [eMVP]
- Re: Saving Objectstore to a WinCE OS device
- From: Elmo
- Re: Saving Objectstore to a WinCE OS device
- From: Paul G. Tobey [eMVP]
- Re: Saving Objectstore to a WinCE OS device
- From: Elmo
- Saving Objectstore to a WinCE OS device
- Prev by Date: Re: Saving Objectstore to a WinCE OS device
- Next by Date: load device drivers in order
- Previous by thread: Re: Saving Objectstore to a WinCE OS device
- Next by thread: Re: Saving Objectstore to a WinCE OS device
- Index(es):
Relevant Pages
|
Loading