Re: Windows CE Splash and Shell
- From: "Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx>
- Date: Thu, 14 Sep 2006 07:27:38 +0200
1. Yes
2. Yes
3. Not exactly : for each Launch key windows CE checks signal started
dependencies before launching the App. Therefore, Launch0-99 are not
"started at the same time"
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeneo-embedded.com
Tél : +33 (0)4.72.18.08.40
Fax : +33 (0)4.72.18.08.41
----------------------------------------------------------------
"Garratt" <Christian.H.Mikkelsen@xxxxxxxxx> a écrit dans le message de news:
uYGQ7nz1GHA.4972@xxxxxxxxxxxxxxxxxxxxxxx
I did as you asked me to and so far the splashscreen has run everytime :).
Thanks a lot :).
I have just one more tiny question since i think i might have
misunderstood something about the launch keys.
1.Each Launch is started one by one starting by Launch0 - 99 in that
order and as seperate processes.
2. If then there's is a Depend value for a Launch, then the Launch will
not commence until SignalStarted has been
sent from the dependency described by the Depend key(Launch).
3. This means that each Launch0-99 is "more or less" started at the
same time but then each Launch waits for its dependencies
to signal complete before they themself can continue.
Please correct me if im wrong.
Best regards
Christian
"Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx> wrote in
message news:ugAxkPv1GHA.3656@xxxxxxxxxxxxxxxxxxxxxxx
Are you sure to have the complete graphical stack.
I'd suggest you to do the following
- have a Windows CE image with standard shell working (ie explorer.exe)
- duplicate launch50 key in your project.reg to launch your app in place
of explorer.exe
- once it works, remove explorer standard shell component
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeneo-embedded.com
Tél : +33 (0)4.72.18.08.40
Fax : +33 (0)4.72.18.08.41
----------------------------------------------------------------
"Garratt" <Christian.H.Mikkelsen@xxxxxxxxx> a écrit dans le message de
news: OSdmdln1GHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
Hello
Ive written a small app displaying a splash screen, placing it at
Launch96 (97-99 occupied by some
small services of mine ) in my image and it works fine.
Except! (always with the execpt I know :)) it would appear that the
splash screen (which is a very small and simple win32 app)
is not always started or in other words it do not appear visible (about
1 out of 20 times).
Any clues as to why this is?
Im running without any shell (only added the command console and
processor).
Am I trying to start a graphical app on the very edge of the system
initialization or something like that?
Best regards
Christian
"Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx> wrote in
message news:%23eOUdCj1GHA.1252@xxxxxxxxxxxxxxxxxxxxxxx
That's not a simple task. You might need to develop your own custom
shell.
A first step would be to copy the HKLM\Init keys (Launch50 & Depends50)
from shell.reg to the project.reg of your OSDesign and replace
explorer.exe by your own app.
If you plan to do multi applications, with multiple windows, you'll
probably need to implement shell support in your application.
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO
Windows Embedded Manager
ychammings AT adeneo DOT adetelgroup DOT com>
http://www.adeneo-embedded.com
Tél : +33 (0)4.72.18.08.40
Fax : +33 (0)4.72.18.08.41
----------------------------------------------------------------
"Garratt" <Christian.H.Mikkelsen@xxxxxxxxx> a écrit dans le message de
news: u8X6s6a1GHA.4648@xxxxxxxxxxxxxxxxxxxxxxx
Hello
Im currently using the "Standard Shell" in my Windows CE 5.0 image.
Ive been reading about
the different shells but im a little confused. Here's what im trying
to acheive:
1.
I want to remove the desktop icon, background, taskbar and have a
black screen(or splash screen pref)
until i start my app.
This is so that the user do not start wondering about the icon etc.
and to give a more
professional look :).
Thats the first step.
2.
The next step i would like to be able to do one or both of the
following:
1. Display a splash screen until my app i loaded and ready to take
over. Effectivily hidding
all the initialization that takes place behind.
This screen would then be displayed as soon as the display
driver has been initialized.
2. Redirect my std output to NULL or cyberspace :). I got some
initial
loading which currently pops up with all my printf directly to
the screen
in a command console. I would like to get rid of those by
redirecting to
null or something like that. Is that possible?
Followup:
I managede to get a blank screen by removing all of the shell
components except the console
and command proc, so that part i think is ok now, but im not sure that
my approach is correct. I still want to be able
to call for example the network setup dialog, but that should be
possible now right?
So the real question in this post is actually how do I insert a splash
screen as fast as possible that can be shown until my app (CF2.0)
starts
running?
Best regards
Christian
.
- References:
- Windows CE Splash and Shell
- From: Garratt
- Re: Windows CE Splash and Shell
- From: Yannick Chamming's [eMVP]
- Re: Windows CE Splash and Shell
- From: Garratt
- Re: Windows CE Splash and Shell
- From: Yannick Chamming's [eMVP]
- Re: Windows CE Splash and Shell
- From: Garratt
- Windows CE Splash and Shell
- Prev by Date: Re: Usb Host, USB Client Win CE
- Next by Date: Re: FATFS Filesystem in WINDOWS CE 5.0
- Previous by thread: Re: Windows CE Splash and Shell
- Next by thread: difference b/w sd and sdio card
- Index(es):
Relevant Pages
|