Re: Clone SkinnableUI

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance





Hi Michel

I am a complete newbie to Win CE.
I am trying to modify Commctrl part of the OS design in Win CE. In the reply
above, you have mentioned that we can figure out how to clone a particular
library by just interpreting the makefile in \PUBLIC\COMMON\CESYSGEN .
I have tried cloning NETUI and it works fine for me by following the steps
in your blog.
But similar steps can't be repeated to clone commctrl. Can you give some
pointers as to how should we interpret the makefile instruction to
successfully clone a particular library.

Thanx and please do reply.


"Michel Verhagen (eMVP)" wrote:

The skinnable ui is a special case. If you take a look at the master
makefile in \PUBLIC\COMMON\CESYSGEN and search for gcacheviewxp then
you'll find that all you need to do is to copy the gcacheviewxp folder
(or anything you want to modify) add the resource file to the list of
sources, add RELEASETYPE=LOCAL set the WINCETARGETFILES to just
$(TARGETNAME).res and build the lib. Then make sure you set
GWES_REPLACE=1 in your OSDesign and modify the makefile.inc to copy the
lib and res files to a special folder and set REPLACE_ROOT to this
folder (libs and res need to be in oak\lib\$(_CPUINDPATH) and
oak\lib\$(_CPUINDPATH)\$(CURRENT_LANGID), see the master makefile.

You can skip the setting of REPLACE_ROOT and just create a
lib\$(_CPUINDPATH) in your _PROJECTROOT). Then all you need to do is set
RELEASETYPE=OAK and change the makefile.inc to copy the res to
$(_PROJECTROOT)\oak\lib\$(_CPUINDPATH)\0409\$(TARGETNAME).res (replace
the langid with the one needed).

Note that I didn't try anything out, I'm just reading and translating
the makefile into instructions. Maybe you need to do something more, but
you'll figure it out by looking at the master makefile.


Good luck,

Michel Verhagen, eMVP
Check out my blog: http://GuruCE.com/blog

GuruCE
Microsoft Embedded Partner
http://GuruCE.com
Consultancy, training and development services.

lsimoni wrote:
So, I'm trying to clone a catalog item, specifically the SkinnableUI. There
are documents on MSDN that show how to clone by right clicking on a catalog
item, and Michel has a great post on how to clone items that don't have that
option (netui):

http://www.guruce.com/blogpost/cloningpubliccodeanexample

But I'm trying to clone the SkinnableUI component and it doesn't fit any
documentation I"ve found so far. There must be an easy way to do this, I'm
sure I'm just missing something.

When I follow Michel's blog and use the sysgen_capture -p common
skinnableui, it returns an error. If I try and copy a single component from
the skinnableui folder, like gcacheview and run the sysgen_capture -p
gcacheview, I get an error saying:
BUILD: [01:0000000028:ERRORE] NMAKE : U1073: don't know how to make
'gcacheviewxp.def'
BUILD: [01:0000000029:INFO ] Stop.
BUILD: [01:0000000030:ERRORE] NMAKE.EXE TargetExeFiles -i -c BUILDMSG=Stop.
BUILDROOT=C:\WINCE600\OSDesigns\OSDesign2\OSDesign2\GCACHEVIEWXP\ LINKONLY=1
NOPASS0=1MAKEDLL=1 failed - rc = 2

Sorry if I'm asking the obvious, but I'm lost here. From everything I've
read, this should be so simple, and yet I can't get it to work.

.



Relevant Pages

  • Re: Clone SkinnableUI
    ... If you just want to modify the skin of commctrl than clone commctrlview ... Read the master makefile at section: ...
    (microsoft.public.windowsce.platbuilder)
  • Re: INBOX, PWORD
    ... You don't need to clone the project to modify the dialogs. ... modify the res files. ... I have tried sysgen_capture pmail, sysgen_capture Inbox, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Yet another way to use Java
    ... > I noticed that every time I start a new project I have to clone and ... > modify some existing one. ... > Every time I make a change the program, I can stomp out an entire new ... Some I don't override, since the ones ...
    (comp.lang.java.programmer)
  • Re: sendmail-src RPM
    ... den 28.04.2005 schrieb Rakotomandimby (R12y) Mihamina um 21:00: ... >> I see it wants to modify a Makefile and it looks like it removes ...
    (Fedora)
  • Re: Const parameter to function
    ... (or any methods that modify the object's state). ... public interface IImmutablePerson ... (which modifies the Name). ... full guarantees, I would say Clone that puppy, and pass the clone. ...
    (microsoft.public.dotnet.languages.csharp)