Wednesday, December 3, 2008

How to clone Public component

1. Copy the code of the desired Public component into a new directory.
2. Edit the sources file in the new directory and modify.
3. Use the Sysgen Capture tool to create modular sources and dirs files.
4. Rename and use the files created by the Sysgen Capture tool along with a makefile
to rebuild the new cloned module.
Example:

1) Copy TASKMAN folder from %_WINCEROOT%\Public\Wceshellfe\Oak\Taskman to your OSDesign, for instance \WINCE600\OSDesign\OSDesign_Emulator.

2)Open the sources. file in the folder you just copied, modify following:

RELEASETYPE=LOCAL,WINCEOEM=1,TARGETTYPE=DYNLINK , delete line "WINCETARGETFILE0=$(_RELEASELIBDIR)\$(TARGETDEFNAME).def "

3)

No comments: