EWF/Hibernate in FBA

G

Guest

I would like to enable a Hibernate Once/Resume many with my EWF image. I saw
the instructions on how to do it on the msdn article. However, I have two
limitations:

1. I need the hibernate point to be right before my custom shell loads -
there are dynamic things that need to happen right when my application boots.

2. Since I have a custom shell I can't do all the steps (i.e. disable ewf,
set up the hibernate, reenable ewf, etc).

Is there any way I could set this up at the very very end of my FBA?
 
S

Sean Liming \(eMVP\)

FBA has 0 to 65520 phases. You could create an app that runs at 65519 with
FBAGenCMD resource that performs the hibernation.

Another idea: Instead of booting directly to your custom shell, could you
boot to an application (a different shell) that has the EWF and hibernation
control? This new shell might have delay to launch your final app?

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Author
 
G

Guest

Sean,
Unfortunately, another application is not an option for us. If I were to do
it at the end of fba, would the hibernation point be at the end of FBA, or
right after? Also, could I use the API to do it at the beginning of my
program? Maybe check for a certain file, and if not there, initiate
hiberation sequence?

MJ
 
S

Sean Liming \(eMVP\)

MJ,

Not knowing the details of your applicaton, my only suggestion would be to
run this at the end of FBA. The alternative to run the API at the beginning
of the might work, but you will have to have some logic that waits to run
the rest of the app when it comes out of hibernation.

Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
XP Embedded Book Author - XP Embedded Advanced, XP Embedded Supplemental
Toolkit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top