Question

How can I automatically run my C# program after hard-reset or soft-reset on Windows CE?

Was it helpful?

Solution

in your applications .reg file, add the following:

[HKEY_LOCAL_MACHINE\init] "Launch50"="PlatformStartup.exe" "Depend50"=hex:14,00,1E,00

Source - http://msdn.microsoft.com/en-us/library/aa446914.aspx

Hope that helps!

OTHER TIPS

[HKEY_LOCAL_MACHINE\init] will not launch your C# app! You should read that article Chris Tacke gave link to.

There is also some ready solutions like AutoLaunch, that you can include in your OS image as a subproject. If you choose this solution, make sure that you have the APIs it is waiting for (check IsNetworkReady()) or it will hang there forever.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top