Re: start my own initial program from storage card
- From: C.L <CL@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Sep 2008 20:07:01 -0700
"Valter Minute" wrote:
prabu.jem@xxxxxxxxx wrote in
news:800d1671-46d1-4b95-9c71-c6a333dadc77@xxxxxxxxxxxxxxxxxxxxxxxxxxx
m:
You can add the entries in platform.dat file to copy the
application from storage card to the windows directory.
It's not granted that your storage card will be mounted and accessible
when the .dat file commands are executed by the CE filesystem manager.
Look into this post for editing the platform.dat
http://geekswithblogs.net/BruceEitman/archive/2008/06/17/platform-b
uilder-using-dat-files-to-initialize-the-file-system.aspx (OR)
You can write another simple application to which will lauch
during boot up and this simple application will launch your main
application which resides in storage card using "CreateProcess".
This solution is more reliable (IMHO).
Use this solution, you might need to wait first until API is ready.
while(!IsAPIReady(SH_SHELL)) //Sleep untill API is up
{ Sleep(1000); }
.
--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid)
- Prev by Date: RE: MODULES vs FILES in bib file
- Next by Date: Adobe Flash support in IE (Win CE 5.0)
- Previous by thread: MODULES vs FILES in bib file
- Next by thread: Adobe Flash support in IE (Win CE 5.0)
- Index(es):
Relevant Pages
|