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
>
>