Auto Launch an application from Storage Card
- From: imtiazkhank@xxxxxxxxx
- Date: 10 Feb 2007 00:54:33 -0800
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
.
- Follow-Ups:
- Re: Auto Launch an application from Storage Card
- From: r_z_aret
- Re: Auto Launch an application from Storage Card
- From: Werner \"Menneisyys\" Ruotsalainen [MVP - Windows - Mobile Devices]
- Re: Auto Launch an application from Storage Card
- Prev by Date: Re: Status of Pocket PC's
- Next by Date: system and registry cleaner/maintenance
- Previous by thread: Clicking on 'Network Card' does nothing (in ADVANCED)
- Next by thread: Re: Auto Launch an application from Storage Card
- Index(es):
Relevant Pages
|