S
Slobodan Brcin
My product works in an industrial environment, connected to a UPS. When
the
First is this RAM or DISK based EWF?
If it is RAM, then only thing you can do is to wake and shutdown device few
moments before power is cut off.
Or you can change your app:
You can create unprotected partition, and use RegLoadKey, RegSaveKey to
temporary save and restore some hives that are vital to you.
Or you can save and restore data in your temp(or config) file on unprotected
partition. Than when XPE loads if exists will be loaded by your app to
appropriate places.
Best regards,
Slobodan
the
power goes off, and we're running from the UPS, I want to COMMIT the
system's current status to the EWF-protected CF and continue running in a
"standby" mode. All this works now.
Problem is, if the power stays off, the UPS goes dead and the system goes
down without the graceful shutdown that EWF COMMIT needs. So the COMMIT is
futile.
How can I do everything that SHUTDOWN does (save Registry & whatever else),
but not actually re-boot? My apps are written in C++.
First is this RAM or DISK based EWF?
If it is RAM, then only thing you can do is to wake and shutdown device few
moments before power is cut off.
Or you can change your app:
You can create unprotected partition, and use RegLoadKey, RegSaveKey to
temporary save and restore some hives that are vital to you.
Or you can save and restore data in your temp(or config) file on unprotected
partition. Than when XPE loads if exists will be loaded by your app to
appropriate places.
Best regards,
Slobodan