Auto Launch an application from Storage Card

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi,

I wanted to auto launch an application from the Storage Card during
boot-up.

I followed the following procedure

(1) Created named events in both sdhostcontroller driver and the
application.
(2) SetEvent from driver once storage card is mounted.
(3) application will be waiting for the event from the driver.
(4) Set the application to run at start-up.
[HKEY_LOCAL_MACHINE\Init]
"Launch119"="SDCARDMOUNT.exe"
"Depend119"=hex : 14,00

I am able to get the event from the driver. And my application
(SDCARDMOUNT.exe), invokes the createprocess( ) function to launch a
HelloWorld application which resides in Storage Card.

i.e CreateProcess(L"\\Storage Card\
\HelloWorld.exe",...............................);

But I am unable to open the helloworld application from storage card.

Could anybody help me in this regard.

Regards,

Imtiaz KHan

.



Relevant Pages

  • Re: Auto Launch an application from Storage Card
    ... Questions about programming are far more likely to get useful answers ... SetEvent from driver once storage card is mounted. ... remove the underscores from my email address (and please indicate which newsgroup and message). ...
    (microsoft.public.pocketpc)
  • Re: Auto Launch an application from Storage Card
    ... And what does CreateProcess return? ... You also could have used the device notification queue to get this ... Created named events in both sdhostcontroller driver and the ... SetEvent from driver once storage card is mounted. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Auto Launch an application from Storage Card
    ... I wanted to auto launch an application from the Storage Card during ... SetEvent from driver once storage card is mounted. ... Shell hasw an API for auto launching exe on Storage Cards. ...
    (microsoft.public.windowsce.platbuilder)
  • Auto Launch an application from Storage Card
    ... I wanted to auto launch an application from the Storage Card during ... SetEvent from driver once storage card is mounted. ... But I am unable to open the helloworld application from storage card. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Auto Launch an application from Storage Card
    ... Are you sure the card is actually visible at the time you are in HKLM\init? ... SetEvent from driver once storage card is mounted. ... But I am unable to open the helloworld application from storage card. ...
    (microsoft.public.pocketpc)