RE: Cloning ceshui

Tech-Archive recommends: Speed Up your PC by fixing your registry



Hi,
I usually clone projects to my PBWorkspaces folder.
I know there might be people that disagree with this, since it is debatable
if your changes should be considerred project-specific or platform-specific.

I like to have all things as user-projects, which can be easily built,
debugged, and added or removed, per project. Also your work can be backupped
by just saving the PBWorkspaces folder, instead of several folders scaterred
throughout the CE-tree. The cloned code builds independent, producing a DLL
or EXE depending on what it is. (at least independent of the sysgen process
which complicates things....)

ofcourse this takes some changes to the sources file.
But if you stick with it, you can make it build, since you have all required
files.
The first step is to collect (copy) the sourcefiles, donot modify them in
the public tree. Some EXE's (explorer.exe) are built from several libs, if
you need to produce a clone, you will have to clone the ones that require
changes. You can leave them to produce libs (from the userproject), in that
case, be sure to get the build-order right (first lib, and the final exe as
last), the alternative would be to put all the lib files in the exe project.

If files are updated through QFE's you will need to re-do part of the work
(update the clone with changes), keep this in mind....

Hope this helps....
Greetings,
Rob.









"Tarun" wrote:

Hi All,

I am in the process on cloning a few of the UI components, esp
ceshui.lib

The process I have adopted for now is:

1. Modify public source
2. Create the libs
3. Modify the platform.bat file to copy the desgnated libs and .res
files to appropriate Public LIB folders (in platforms that do not have
the Public code changes)
4. SYSGEN the workspace.

Although this process is working fine, I do not see this as the right
way of doing things.

I tried using the sysgen_capture tool, as discussed in the topic of
cloning the public sources, but I have been unable to get desired
results (probably dint understand the process quite well), probably
because the components in question are building up as libs.

I hereby request all veterans to help me get this act right: cloning
the libs in public for customized UI.

Thanks and Regards
TaN


.