How to include the taskman shell in WindowsCE 5.0?
In WindowsCE 4.2, I can set the environment variable "__SYSGEN_TASKMAN"
to 1 to include the taskman shell environment, but the same way doesn't work
in WindowsCE 5.0.
According to MSDN documents on how to custimize shell, I have tried the
following way to include taskman shell in WindowsCE 5.0,but failed.
1) Copy the files and directories in
%_WINCEROOT%\PUBLIC\WCESHELLFE\OAK\TASKMAN to
%_WINCEROOT%\PUBLIC\Shell\OAK\TASKMAN
2) Replace the existing codes in the dirs file with DIRS=TASKMAN
3) Assign the variable BUILD_OPTIONS to TASKMAN
4) Add following codes in project.reg
[HKEY_LOCAL_MACHINE\init]
"Launch50"="taskman.exe"
"Depend50"=hex:14,00, 1e,00
5) Mask the sentence "INCLUDES=..\stubs" with comment in
%_WINCEROOT%\PUBLIC\Shell\OAK\TASKMAN\sources file. Otherwise, it cannot be
compiled successfully.
As a result, this platform can be built successfully. But there're black
screen when the platform is attached.
Could you give me some advice?
Thanks & Best Regards,
Arthur
- copy taskman directory from Public to Platform\mybsp
- change sources file so that it would generate an exe but not a lib (it
will imply adding some targetlibs entries, as you'll have to handle
unresolved external)
- have taskman.exe built succesfully
- add taskman.exe to your bib file, and modify reg file so that it is
"Launch50" (as you've already done)
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADESET
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"Arthur Jiang" <Arthur...@wadin.com> wrote in message
news:e#J5MGoAF...@TK2MSFTNGP14.phx.gbl...
Maybe we can try these:
- Delete Standard Shell from your project Catalog items
- Set the environment variable "SYSGEN_TASKMAN" to 1
- In %_WINCEROOT%\PUBLIC\CEBASE\OAK\MISC\wceshellfe.bat add:
if not "%SYSGEN_TASKMAN%"=="1" goto noTaskMan
set WCESHELLFE_MODULES=%WCESHELLFE% taskman
:noTaskMan
- Build TaskMan to generate a lib
- Sysgen
That's OK! :->
DongWeilong
2005.1.25
"Arthur Jiang" <Arthur...@wadin.com> wrote in message
news:e#J5MGoAF...@TK2MSFTNGP14.phx.gbl...