One of the customized Windows CE 5.0 standby interface-taskbar location

Source: Internet
Author: User
Tags create directory

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)

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.