Step 1:
Modify the taskbar. cpp file to move the taskbar of Windows CE 5.0 to the top of the window.
Change the following file:/wince500/public/Shell/oak/HPC/Explorer/taskbar. cpp
Note: The modified source code is scattered in taskbar. cpp, so no source code is attached.
Step 2:
Compile
CD/wince500/public/Shell/oak/HPC/Explorer/taskbar
Build-CD
Step 3:
Create directory/wince500/platform/[BSP name]/paie_make
Step 4:
Create two files: makefile and sources.
Makefile content:
# Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved.
#
# Do not edit this file !!! Edit./sources. If you want to add a new source
# File to this component. This file merely indirects to the real make File
# That is shared by all the components
#
! Include $ (_ makeenvroot)/makefile. Def
Makefile content ended
Sources content:
! If 0
Copyright (c) 1999-2000 Microsoft Corporation. All rights reserved.
! Endif
! If 0
Leo. Zheng modofied
Copy explorer. res from D:/wince500/public/Shell/oak/lib/[CPU type]/retail/to D: /wince500/ public/Shell/oak/lib/[CPU type]/retail/0804/
! Endif
Targetname = Explorer
Targettype = Program
Releasetype = oak
Targetlibs =/
D:/wince500/pbworkspaces/[Pb project name]/wince500/[bsp_cpu]/cesysgen/SDK/lib/[CPU type]/retail/coredll. lib/
D:/wince500/public/Shell/oak/lib/[CPU type]/retail/explorer. lib/
D:/wince500/public/Shell/oak/lib/[CPU type]/retail/explorer. Res/
D:/wince500/public/Shell/oak/lib/[CPU type]/retail/explorer_ie.lib/
D:/wince500/pbworkspaces/[Pb project name]/wince500/[bsp_cpu]/cesysgen/SDK/lib/[CPU type]/retail/UUID. lib/
D:/wince500/pbworkspaces/[Pb project name]/wince500/[bsp_cpu]/cesysgen/SDK/lib/[CPU type]/retail/ole32.lib/
D:/wince500/pbworkspaces/[Pb project name]/wince500/[bsp_cpu]/cesysgen/SDK/lib/[CPU type]/retail/oleaut32.lib/
D:/wince500/pbworkspaces/[Pb project name]/wince500/[bsp_cpu]/cesysgen/SDK/lib/[CPU type]/retail/commctrl. lib/
D:/wince500/pbworkspaces/[Pb project name]/wince500/[bsp_cpu]/cesysgen/SDK/lib/[CPU type]/retail/ceshell. lib/
D:/wince500/pbworkspaces/[Pb project name]/wince500/[bsp_cpu]/cesysgen/oak/lib/[CPU type]/retail/shcore. lib/
D:/wince500/public/Shell/oak/lib/[CPU type]/retail/aygutils. lib/
D:/wince500/public/Shell/oak/lib/[CPU type]/retail/favorites. lib/
D:/wince500/public/Shell/oak/lib/[CPU type]/retail/taskbar. lib/
D:/wince500/pbworkspaces/[Pb project name]/wince500/[bsp_cpu]/cesysgen/oak/lib/[CPU type]/retail/ieceext. lib/
D:/wince500/public/Shell/oak/lib/[CPU type]/retail/shellaygfuncs. lib/
D:/wince500/public/Shell/oak/lib/[CPU type]/retail/shellpslayg. lib/
Sourcelibs =/
Sources =/
Sources content ended
Step 5:
CD/wince500/platform/[platform name]/explore_make
Build-CD
Note: An error may occur during compilation, as shown in the following figure. Link: Fatal eeror lnk1104: cannot open file "..."
No target directory is created under the corresponding directory. Follow the error prompt to create a directory.
Step 6:
Copy the explorer.exe, explorer. PDB and explorer. Map files to the release directory/wince500/pbworkspaces/[Pb project name]/reldir/xxx_armv4i_release
Step 7:
Make image directly without using sysgen (the premise is that the project has been successfully created by sysgen)