Re: How to Change the Default Screen in Windows CE 5.0



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.










.



Relevant Pages

  • Re: Registry question
    ... RegMaid.exe Helps Clean Up the Registry ... Microsoft Visual C++, 32-bit Learning Edition, version 6.0 ... RegMaid provides information about entries that are believed to be ... server file entry cannot be found by the system. ...
    (microsoft.public.windowsxp.general)
  • Re: Run appl in headless system at startup
    ... I have an entry for my app in the project.bib file, ... However, looking at the registry after booting the target device, using the ... CE Remote Registry tool, the Init key doesn't contain my entries, hence ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Slow response despite ok dns...?
    ... All members of a single-label AD Domain require registry entries ... locate the UpdateTopLevelDomainZones entry. ... locate the AllowSingleLabelDnsDomain entry. ...
    (microsoft.public.windows.server.dns)
  • Re: registry cleaner
    ... Unless a registry entry causes a timeout any ... You mention removing 1,000 registry ... entries but how many of those entries would have been accessed when you ...
    (microsoft.public.windowsxp.general)
  • Re: HKLMInit and MFC Application (further clarification)
    ... Paul T. ... > As far as the registry entry, I've used the remote registry editor on the ... > device and noted that my "Launch50" entry was really there. ... I actually DO compile the program in EVC. ...
    (microsoft.public.windowsce.platbuilder)