Re: Auto Launch an application from Storage Card



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
.



Relevant Pages

  • Re: PPC 2003 PDA COM PORT open failed
    ... Questions about programming are far more likely to get useful answers ... specifically look for a newsgroup for folks who write drivers. ... We are involved in developing a driver for Pocket PC 2003 PDAs, ... registers related to the reading & writing of UART modem registers... ...
    (microsoft.public.pocketpc)
  • Re: Linking errors when use evc++4.0 to build ndis driver
    ... Questions about programming are far more likely to get useful answers ... if asked in a newsgroup for programmers. ... Actually, I'm pretty sure eVC ... I have successfully built my ndis51 intermediate driver using pb42. ...
    (microsoft.public.pocketpc)
  • Re: Urgent: Storage Card Mount and UnMount Event WM 5.0
    ... Questions about programming are far more likely to get useful answers ... My application access the database stored in a Storage Card, ... remove the underscores from my email address (and please indicate which newsgroup and message). ...
    (microsoft.public.pocketpc)
  • Re: What have you tried?
    ... When we had the Device Driver book published in 1999, ... The only bad rating I got in my Systems Programming course was from a student who, ... The problem really starts in introductory programming courses. ... kernel thread was stupid. ...
    (microsoft.public.vc.mfc)
  • RE: SBS 2003 Wont print to local printer
    ... think the root cause can be a hardware conflict or an incompatible driver. ... Microsoft Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... To turn on spooler error event logging to the system log file, ...
    (microsoft.public.windows.server.sbs)