Are registry changes lost w/power when using RAMEWF?

  • Thread starter Thread starter Tony
  • Start date Start date
T

Tony

I am building a target that must eventually use RAMEWF to protect the
CF card where the OS resides. Our target will host an application on
a second CF card, and this application relies on the registry to store
many many settings from one session to the next (i.e. across power
cycles).

If RAMEWF prevents writes to the CF card holding the OS, what will
happen to any registry changes after losing power? Is there a way to
exclude the registry from RAMEWF protection? Detailed answers would
be appreciated.

Thanks!
- Tony H.
 
Hi Tony,

I have not found a way to seperate Reg writes from the ewf.
What we do is store everything in data files on an unprotected
partition. The next problem you are going to find is finding
inadvertent reg writes, I sure hope you do this before writing it to
the CF. You can use regmon.exe from sysinternals to determine what is
writing to the registry.

In short and to answer your question, no.

regards,

Terry W.
 
Since I am not writing the application in question, I don't have that
option. I must host a 3rd party application that makes use of the
registry. Period.

Has anyone else dealt with this? I find it hard to believe that I am
the first person to make this work. Someone proposed changing the
location of the registry hive to an un-protected CF card. If the 3rd
party application keeps its registry activity confined to one
not-so-important hive (if there is such a thing), this wouldn't be
such a bad thing... right?

Anybody have any other ideas?
-Tony H.
 
Since I am not writing the application in question, I don't have that
option. I must host a 3rd party application that makes use of the
registry. Period.

<< TYPO Correction >>
Has anyone else dealt with this? I find it hard to believe that I am
the first person that must somehow force this to work. Someone
proposed changing the location of the registry hive to an un-protected
CF card. If the 3rd party application keeps its registry activity
confined to one not-so-important hive (if there is such a thing),
this wouldn't be such a bad thing... right?

Anybody have any other ideas?
-Tony H.
 
Hi Tony,

You can make service or application that will register for some registry sub hive change notifications.
When you get callback that tell you application has changed something you can use API to write complete subhive to file.
During the boot you can load that file trough API on its place in registry.

Regards,
Slobodan
 
Back
Top