How to run MyApplication.exe as a service in WinCE 7. RRS feed

  • Question

  • Hi,

    I want to run myapplication.exe as service in WinCE 7 so that my application will automatically start after boot up .But i'm not getting a proper solution to this.Can someone tell me the secret sauce to do this?

    Regards, Shantanu K. Pradhan

    Tuesday, August 30, 2016 3:38 PM


All replies

  • I suggest looking at the notify functions like CERunAppatEvent. https://msdn.microsoft.com/en-us/library/ms928544.aspx
    Tuesday, August 30, 2016 4:41 PM
  • Hi,

    I went through what you said but the thing is that i want to run my application at startup(at bootup) independent of any event.So what i tried is putting my application in Registry entry through  HKEY_LOCAL_MACHINE\Init. But it seems like the registry  entry is non-persistent.....


    Shantanu K. Pradhan

    Friday, September 2, 2016 11:43 AM
  • Hi Shantanu,

    The notify API uses the scheduler to launch applications.  Note that the instructions https://msdn.microsoft.com/en-us/library/ms924527.aspx state that you need to be using Platform Builder.  If you are not the OEM of the device, that is building the OS, the scheduler is your best option.



    Saturday, September 3, 2016 3:34 AM