Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2257
  • Last Modified:

How to use CeRunAppAtEvent

Hi Everybody!

I am a new bie, I am using IPAQ 3800 with PocketPC 2002/WindowsCE3.0. My objective is to develop a program that can launch specified application in IPAQ when ever the Power button is turned on. I am trying to use CeRunAppAtEvent(); and intially trying to use NOTIFICATION_EVENT_WAKEUP. Can any body help me regarding the source code!! there has been already a discussion about using this function may be those guys can help me...

Thanks in advance,

Regards

Irfan  
0
irfanyarkhan
Asked:
irfanyarkhan
  • 4
  • 3
1 Solution
 
chensuCommented:
What programming language are you using?
0
 
Mikal613Commented:
0
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
FordraidersCommented:


Here is something interesting....
http://www.innovativedss.com/Resource/RunAppAtEvent.asp

also,....
http://www.cegadgets.com/wincedevfaq.htm#5.3%20How%20can%20I%20make%20I%20application%20startup%20on%20system%20startup?

How can I make I application startup on system startup?

KEY_LOCAL_MACHINE\Init contains executables to run during device startup. Executables are listed under LaunchXX keys, where XX determines the run order to use. Another key, DependXX, allows specifying dependencies (ie. Launch50 can’t run unless Launch40 was successful).

Create a new key under HKEY_LOCAL_MACHINE\Init named Launch60 (or anything greater than Launch50) , and supply the executable name to run. If you want the exe to launch only if the shell successfully started, create Depend60 and set the value to 32h (hex for 50).

An easier way to start an application on system startup is to put a link to your application in the \Windows\StartUp folder.


fordraiders

0
 
FordraidersCommented:
venabili
just curious, how did you determine his answer to be awarded full points...?
Thanks
fordraiders
0
 
Mikal613Commented:
if u need points as i can see from your comment yesterday just ask dont be sneaky
0
 
FordraidersCommented:
Mikal613,
response from Mikal613,
"if u need points as i can see from your comment yesterday just ask dont be sneaky"
"just ask dont be sneaky"   <------------------

Alot to assume about ones personality in one email.

Being a "Master" I would expect more professional responses.

I find it exhausting to engage in trivial matters.
I have been on this site for 6 years.
I could care less about the points.


Responses such as yours,  tend to prove indifference as a "Master"

I think it is a fair question regarding how  EE awards points on old questions.
I will leave it up to the moderators on responses such as yours.

venabili,
I don't have time for these small matters.

Thanks
fordraiders

0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now