How can I make my application automatically startup after the load of
windows ce and at the same time remove the begin menu , my computer, and so
on , that is I want to the user not to see the windows ce standard UI and
the application startup directly.
My Platform configuration is PDA or Mobile HandHeld. I can make my
application automatically startup after the load of windows ce at the
standard shell through make a link file of my application into the startup
directory ( \ windows\startup\myapplication.lnk). but when I change the
standard shell into taskman shell, my application cannot automatically
startup after the load of windows ce, I donot know why?

Can you help me?

Think you very much!

Re: How to remove the standard shell and startup application automically after start of windows ce? by Bruce

Bruce
Thu Jul 31 07:29:42 CDT 2003

So you want to replace the shell. Look into HKEY_LOCAL_MACHINE\Init,

By removing the shell, the shell is not there to start your app.

--
Bruce Eitman (eMVP)
Senior Engineer
Accelent Systems Inc.
www.accelent.com



Re: How to remove the standard shell and startup application automically after start of windows ce? by edwin

edwin
Tue Aug 05 05:05:02 CDT 2003


Mr. Steve Maillet Think you very much!

I have taken a look at the article which you had given to me as the link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnembedded/
html/embedded05072002.asp

It can give me some help, but I think it is not same to me in the detail.

I am a engineer in the development of embedded system of windows ce.net. I
have used the wince410 to create a image for my platform with the sa1110.
and my bsp is sa11x0bd and my platform configuration is PDA and mobile
handheld. I am a 2003 DevCon Attendee in the Embedded Developer Conference
in Beijing this year. I think you must be a lectuer in the embedded
developer conference, perhaps I had saw you at that time.

Perhaps I should introduce my current status of working:

I have used the embedded visual c++ 4.0 to create a application based on the
mfc. so I want to used to this application as the shell of my windows ce.

I want to realize that when windows ce startup , it not the begin menu, my
computer and so on , that is no desktop, at the some time , it can startup
my application automatically . To realize the question above, I have do a
lots, my present works as follow:

In the standard shell which include desktop, I can modify the project.reg
file to realize my application automatically , my add codes are

¡°lanuch80="myApplication.exe"

depend80=hex:1E,00

But I found some application can run successfully after the load of windows
ce. My application (based on the mfc) startup automatically but exit
immediately , I don¡¯t know why ? then I add the code
¡°while(!IsAPIReady(SH_WMGR)) Sleep(1000)¡± in my application. But the
phenomena appeared too! So I tried to use the another method to startup my
application automatically , I can create a shut cut link of my application
and put it in the directory of startup in the windows ce. So I add the codes

¡°myapp.exe $(_FLATRELEASEDIR)\myapp.exe NK S

myapp.lnk $(_FLATRELEASEDIR)\myapp.lnk NK SH

in the file of project.bib , and add the codes

Directory("\Windows\Startup"):-File("myapp.lnk", "\Windows\myapp.lnk")

In the file of project.dat

So I can make any application based on dialog or win32 or mfc to startup
automatically after the load of windows ce in the standard shell which
include the desktop. But I don¡¯t want to see windows ce has the desktop ,
for example , beginning menu, my computer and so on. So I select the taskman
shell in the platform builder 4.1 , and rebuild my platform and download to
my device based on the sa1110, but when the windows ce startup in my device
, my application cann¡¯t startup automatically , if you select the standard
shell , my application can startup automatically. I don¡¯t know why? Can
you help me ? I am very anxious , I am waiting for your answers!

Perhaps I don¡¯t express what I means correctly, I sure that you must
understand what I mean!

Think again!

"Steve Maillet (eMVP)" <nospam1@EntelechyConsulting.com> wrote in message
news:#GmzEW2VDHA.392@TK2MSFTNGP11.phx.gbl...
> The shell is what looks at the startup folder to launch apps. By using
> taskman you have eliminated that feature. Take a look at the following
> article for details on how to replace the shell with your own application,
> which is what it sounds like you want.:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnembedded/
html/embedded05072002.asp
>
> --
> Steve Maillet (eMVP)
> Entelechy Consulting
> smaillet_AT_EntelechyConsulting_DOT_com
>
>



Re: How to remove the standard shell and startup application automically after start of windows ce? by Steve

Steve
Tue Aug 05 07:39:34 CDT 2003

Id recommend going back and re-read the article, as this is what it
describes. It just does it using the IESAMPLE Application instead of your
MFC based application. The discussion of HOW to get the application into the
registry to start as the shell and the use of SignalStarted etc.. is still
relevant to what you are doing. You will just use your application instead
of the IESAMPLE modifications presented in the article.

As we've said before the startup folder is the wrong place to do this as you
have found. Startup is processed by the desktop shell so if you don't want
to see a desktop shell then you also don't get the startup folder
functionality. Instead you use the HKLM\init registry to get your
application started. and don't even use the taskman shell - YOUR application
is the shell.

--
Steve Maillet (eMVP)
Entelechy Consulting
smaillet_AT_EntelechyConsulting_DOT_com