PDA

View Full Version : How to run an app at wakeup?


juiceppc
03-12-2007, 06:38 PM
I was wondering if anyone knew the easiest smallest way to have my Tilt run an application at wakeup. Every time I bring it on from standby. Thanks.

bravo261
03-12-2007, 06:59 PM
i don't know an easy way, but memmaid or sktools is one way.

what are you trying to do? if you run an app, doesn't it just stay open? omap overclocking was a problem that started off similar to how you asked, and those two tools were workarounds for it

Cotulla
03-12-2007, 08:05 PM
You can use this function:

BOOL CeRunAppAtEvent(LPWSTR pwszAppName, LONG lWhichEvent);

with lWhichEvent = NOTIFICATION_EVENT_WAKEUP.

Read more here: http://msdn2.microsoft.com/en-us/library/ms913956.aspx

juiceppc
03-12-2007, 08:45 PM
You can use this function:

BOOL CeRunAppAtEvent(LPWSTR pwszAppName, LONG lWhichEvent);

with lWhichEvent = NOTIFICATION_EVENT_WAKEUP.

Read more here: http://msdn2.microsoft.com/en-us/library/ms913956.aspx

Cool how would I delete the "notification" if I didn't want it anymore?

juiceppc
03-12-2007, 09:56 PM
i don't know an easy way, but memmaid or sktools is one way.

what are you trying to do? if you run an app, doesn't it just stay open? omap overclocking was a problem that started off similar to how you asked, and those two tools were workarounds for it

How would I do that in MemMaid? I have it installed but don't see where. Never mind found it.

Advanced Mode make a new notification. It's not very responsive though. Gonna try SkTools.

Cotulla
04-12-2007, 10:06 AM
try other fuctions http://msdn2.microsoft.com/en-us/library/aa133182.aspx

Cool how would I delete the "notification" if I didn't want it anymore?
possible you should put 0 as the second parameter?