CERunAppAtTime - Can it be used to Wake App ?

C

Ciaran

I would like to know if it is possible to use theOpenNETCF
RunAppAtTime method to wake my app. at a certain predefined time. I
know this method is used to launch an app. at a predefined time but
can I set it to launch the currently running app. since with the
Pocket PC this will just mean re-activating the app. The reason I
would like to do this is that suspend is preventing the timer in my
app. from running (as expected) so I'd like to wake the app. from the
suspend state.

e.g. if my app is called test.exe can I call
RunAppAtTime("test.exe",dteSomeDate);
 
C

Chris Tacke, eMVP

It should work fine. It will actually try to run another instance of your
app, but the frmaework on PPC will then see an active instance and bring it
to the fore instead.
 

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

Top