none
Load application automatically on device startup RRS feed

  • Question

  • Hello

    following link http://msdn.microsoft.com/en-US/library/ee482633(v=WinEmbedded.60).aspx answer the subject .

    however, i have problem with dependnn .i do not have hexadecimal numbers for the module dependencies that my application requires. 

    the documentation write "If you do not know the hexadecimal numbers for the module dependencies that your application requires, open and search Common.reg for the module names." but suppose i want my application to be launched after servicesStart.exe - i can not find its hexadecimal number in this file.

    where can i find the servicesStart.exe hexadecimal number ?


    Nathan

    Tuesday, September 20, 2011 7:30 AM

Answers

  • In %_WINCEROOT%\PUBLIC\COMMON\OAK\FILES\common.reg:

     

     

    ; @CESYSGEN IF CE_MODULES_SERVICES
    [HKEY_LOCAL_MACHINE\init]
            "Launch60"="servicesStart.exe"
            "Depend60"=hex:14,00
    ; @CESYSGEN ENDIF CE_MODULES_SERVICES

     


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com
    • Marked as answer by NathanKr Tuesday, September 20, 2011 1:38 PM
    Tuesday, September 20, 2011 8:36 AM
  • It's there allright. Search for "servicesStart" or "CE_MODULES_SERVICES" and you'll find that it has a "Launch60" entry defined in common.reg. Now, 60 equals 0x3C, so you'd have to use a "DependXX"=hex:3C,00 entry to have your app depend on ServicesStart.exe
    Henrik Viklund | Windows Embedded MVP | http://www.addlogic.se

    • Edited by HenrikViklund Tuesday, September 20, 2011 8:43 AM
    • Marked as answer by NathanKr Tuesday, September 20, 2011 1:38 PM
    Tuesday, September 20, 2011 8:39 AM

All replies

  • In %_WINCEROOT%\PUBLIC\COMMON\OAK\FILES\common.reg:

     

     

    ; @CESYSGEN IF CE_MODULES_SERVICES
    [HKEY_LOCAL_MACHINE\init]
            "Launch60"="servicesStart.exe"
            "Depend60"=hex:14,00
    ; @CESYSGEN ENDIF CE_MODULES_SERVICES

     


    Luca Calligaris lucaDOTcalligarisATeurotechDOTcom www.eurotech.com Check my blog: http://lcalligaris.wordpress.com
    • Marked as answer by NathanKr Tuesday, September 20, 2011 1:38 PM
    Tuesday, September 20, 2011 8:36 AM
  • It's there allright. Search for "servicesStart" or "CE_MODULES_SERVICES" and you'll find that it has a "Launch60" entry defined in common.reg. Now, 60 equals 0x3C, so you'd have to use a "DependXX"=hex:3C,00 entry to have your app depend on ServicesStart.exe
    Henrik Viklund | Windows Embedded MVP | http://www.addlogic.se

    • Edited by HenrikViklund Tuesday, September 20, 2011 8:43 AM
    • Marked as answer by NathanKr Tuesday, September 20, 2011 1:38 PM
    Tuesday, September 20, 2011 8:39 AM