Re: Auto Launch an application from Storage Card
- From: r_z_aret@xxxxxxxxxxxx
- Date: Tue, 13 Feb 2007 13:47:31 -0500
Questions about programming are far more likely to get useful answers
if asked in a newsgroup for programmers. In this case,
microsoft.public.pocketpc.developer is a likely choice.
For this specific question, I suggest usng google
(http://groups.google.com/advanced_group_search) to look up
autorun
in microsoft.public.pocketpc.developer
On 10 Feb 2007 00:54:33 -0800, imtiazkhank@xxxxxxxxx wrote:
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
-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).
Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com
.
- References:
- Auto Launch an application from Storage Card
- From: imtiazkhank
- Auto Launch an application from Storage Card
- Prev by Date: Re: Disable peripheral devices
- Next by Date: Re: About PocketPC 2002
- Previous by thread: Re: Auto Launch an application from Storage Card
- Next by thread: system and registry cleaner/maintenance
- Index(es):
Relevant Pages
|