Re: Run applications at startup
- From: "Henrik Viklund" <henrik.viklund@xxxxxxxxx>
- Date: 6 Feb 2007 04:03:12 -0800
On Feb 6, 10:39 am, Mekas <M...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Thanks.. And one more thing i want to know, For launch option, the numbers
range from 00 to 99.. And whether microsoft reserved some numbers for its
applications?
Since launch50 s for explorer.exe, launch20 s for device.exe.. Which digits
are all free?? Since i'm a fresher for WinCE i dont know much regarding this..
MS uses several entries in the range 0 to 99, but there's no "official
list" that I know of. What entries are actually used in *your* image
depends on what components you've added to it. And, depending on your
BSP additional entries may be used as well.
To find what entries are used in your specific image you can search
regini.ini in your release directory for "Launch", or check the
registry of your device. To find out what entries *may* be used by
various components, search the your "platform" and "public"
directory's .reg files for "Launch".
Henrik Viklund
http://www.addlogic.se
"Henrik Viklund" wrote:
The launch key is passed as command-line argument to the launched app
(in your case the equivalent of launching "cmd 80"). IIRC, "80" is not
a valid option for "cmd" and when presented with a bad option it will
bail out with an error message (try launching "cmd 80" and see what
happens).
If this is the case, you need to create a utility that that launch
"cmd", and conform to the LaunchXX architecture (taking the launch key
as argument and call SignalStarted).
Henrik Viklund
http://www.addlogic.se
On Feb 6, 7:32 am, Mekas <M...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hi,
I want to start up my application when system boots. For that i've seen some
previous queries. It says to include the following in the project.reg file.
As a test, I created a Emulator workspace and chose cmd to be launched when
wince boots.. I've given explorer.exe as dependancy..
;Proj.reg addition
[HKEY_LOCAL_MACHINE\Init]
"Launch80"="cmd.exe"
"Depend80"=hex:32,00
But when running emulator, cmd doesnt start.. Instead of 'cmd.exe' if i
replace 'iesample.exe' it statrs... I dont know why not cmd?
Regards,
Mekas- Hide quoted text -
- Show quoted text -
.
- References:
- Re: Run applications at startup
- From: Henrik Viklund
- Re: Run applications at startup
- Prev by Date: Re: USB HOST Composite driver
- Next by Date: Couple of questions about bootloader
- Previous by thread: Re: Run applications at startup
- Next by thread: Re: link error with wince6.0
- Index(es):
Relevant Pages
|