Replacing COMMON Components by customized ones

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

From: Yannick Chamming's [eMVP] (ychammings_nospam_at_adeset.com)
Date: 05/18/04


Date: Tue, 18 May 2004 19:29:17 +0200

Hi all,

I have a "what is the right way" question :

We are willing to replace the intlp.cpl by our own version, linked to a
catalog component of our BSP.

We duplicate the intl sources into our platform directory, make the
adaptation, name it as intlp_mine.cpl, include it in our bib file and
everything works just fine...

... except that we have now 2 intl cpl (standard one and customized one)

How can we remove automatically the standard intl when including ours ?

- If we just rename our cpl in the platform.bib file to name it intlp.cpl we
encounter the well known "duplicate entry", and as wceshellfe.bib is parsed
before platform.bib, it's the standard component which is included.

- We can patch the cesysgen.bat file to add an env variable around the
standard component, and set the env variable when including our customized
version, but as the cesysgen.bat is project specific file, this modification
will be either dedicated to a CE project, or to all CE projects on a
specific PB install (if we modify the template cesysgen), but we won't be
able to export it with our BSP to other PB installs

- We can just modify the original version into public... so ugly ! And still
the issues when exporting our BSP.

- The only automated way we found to make it work is to include our
component in config.bib under the intlp.cpl : we still have the duplicate
entry issue, but as it is the first file parsed by PB, it is ours which is
included, not the standard one from wceshellfe.bib

A google search highlighted a similar question from Paul G.Tobey one year
ago, but he did'nt seem to receive a pertinent answer.

We were thinking of a kind of "Bib record remover" (a bit like
the -[HKLM\...] of the reg file, but for bib files) : we could use it to
remove the standard intlp record before adding ours...

Any hints ?
Best regards
Yannick

-- 
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADESET
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél  : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------


Relevant Pages

  • Re: Replacing COMMON Components by customized ones
    ... even need to bother with a bib file entry, just make use of the one that is ... > encounter the well known "duplicate entry", ... it's the standard component which is included. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Duplicate AE Titles
    ... standard or not. ... Duplicate AE Titles are not technically allowed for distinct entities ...
    (comp.protocols.dicom)
  • Re: Harry caught in yet another desperate lie
    ... out with, like, a 88.2kHz stereo format, 16 bits (or ... And for God's sake ... AGREE ON THE STANDARD. ... Well, we could duplicate his system, but duplicating his ...
    (rec.audio.opinion)
  • Re: Prothon Prototypes vs Python Classes
    ... > There's no real 'standard syntax' for making objects; ... how to "duplicate an existing object". ... If I want to duplicate an object and add it to a registry, ...
    (comp.lang.python)
  • Saturday afternoon Beg. Intl Waltz+party at Premier
    ... Premier is known to be the best place to start experiencing Intl' ... Come join us this Saturday for a beginner Intl' Waltz class ... follows with 50% Intl' Standard music & unique Chinese/Western social ...
    (rec.arts.dance)