Re: How to Change the Default Screen in Windows CE 5.0
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Wed, 7 Mar 2007 13:35:46 -0700
You should call SignalStarted as soon as you are, well, started. You might
call it when the main window is ready, or you might call it before you drop
into the message loop in WinMain(). It's used so that things that list your
Launch<NN> value in their Depend<MM> can be launched. If you never call
SignalStarted, anything that depends on your will never start.
Paul T.
"Rasheed" <mrasheed_ka@xxxxxxxxxxx> wrote in message
news:56EF3C28-9078-4F2F-A034-B7397DDCAD80@xxxxxxxxxxxxxxxx
Hi Paul
Thank you for your reply. Ignore my earlier post. I could make it work
adding the entry in project.reg for my application entry ,so my
application
startup instead of WinCE desktop.
[HKEY_LOCAL_MACHINE\init]
"Launch50"="myapp.exe"
"Depend50"=hex:14,00, 1e,00
. Also there is an msdn help "How to Configure the Registry to Run an
Application at Startup" for this.
But I have got problem when I exit my application, what are the things I
should take care.
There is a SignalStarted call, any idea how to use that?
Thanks
Rasheed
"Paul G. Tobey [eMVP]" wrote:
platform.reg and project.reg will both supersede what's in shell.reg, as
I
recall. You'll want to test that, of course, building an OS with the new
entries in your favorite reg file and then checking whose entries are
*last*
in reginit.ini found in the flat release folder after makeimg.
Paul T.
"Rasheed" <mrasheed_ka@xxxxxxxxxxx> wrote in message
news:B0FDDDD0-990B-45A4-AE42-4AED474BA75E@xxxxxxxxxxxxxxxx
Hi Paul
Explrer.exe registry entry is available in the shell.reg, But not in
common.reg or platform.reg or project.reg.So how to hide the
exploer.exe
and where to add the "myapp.exe" entry in any of the registry files
Thanks
Rasheed
"Paul G. Tobey [eMVP]" wrote:
That's not a maintainable way to do things long-term. Are you going
to
always remember to go off and modify a file in an output directory by
hand
and then rebuild the image again?! You can replace the entries that
the
shell is trying to add by just putting your alternative entries in
project.reg or platform.reg.
Paul T.
"Sunny" <Sunny@xxxxxxxxx> wrote in message
news:u7H9LLJXHHA.1000@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
If i got your requirement right, i think you want to the following.
Say for instanace your application name is "MyApp.exe" and You want
to
launch MyApp.exe instead of WinCE Desktop(explorer.exe).
if this is the case then, after building the platform, find the
"shell.reg" file in the platform release directory.
In shell.reg, you will find the following registry key section
[HKEY_LOCAL_MACHINE\init]
"Launch50"="explorer.exe"
"Depend50"=hex:14,00, 1e,00
Here, you replace "explorer.exe" by "MyApp.exe" as follows and do
"Make
Run Time Image" from Build menu.
[HKEY_LOCAL_MACHINE\init]
"Launch50"="MyApp.exe"
"Depend50"=hex:14,00, 1e,00
I hope this solves your issue.
Regards
Sunny.
.
- References:
- Re: How to Change the Default Screen in Windows CE 5.0
- From: Rasheed
- Re: How to Change the Default Screen in Windows CE 5.0
- From: Sunny
- Re: How to Change the Default Screen in Windows CE 5.0
- From: Paul G. Tobey [eMVP]
- Re: How to Change the Default Screen in Windows CE 5.0
- From: Paul G. Tobey [eMVP]
- Re: How to Change the Default Screen in Windows CE 5.0
- From: Rasheed
- Re: How to Change the Default Screen in Windows CE 5.0
- Prev by Date: Re: Sharing folders in Windows CE 5.0
- Next by Date: Re: Downloading Nk.bin from Eboot through USB
- Previous by thread: Re: How to Change the Default Screen in Windows CE 5.0
- Next by thread: Re: How to Change the Default Screen in Windows CE 5.0
- Index(es):
Relevant Pages
|