Re: SYSGEN variable

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Show us your complete sources file and the exact location you've cloned it to. Without it I can only think of 1 thing: WINCEREL=1


Michel Verhagen, eMVP
EmbeddedFusion
www.EmbeddedFusion.com
mverhagen at embeddedfusion dot com


TorbenPedersen wrote:
Hi

Tanks for you repley, I'm not sure how to do the first approach. Could you perhaps explain it to a dummy? ;-)

I've tried to make a copy of the ATAPI directory to <my platform>\src\atapi

changed / added "dirs" and "sources" files
added a WINCEOEM=1 in the sources file
I've build the "new" atapi driver from command prompt and got som *.lib files

my compiled *.lib and *.pdb files ends in <my workspace>Wince500\<my platform>\OAK\lib\x86\debug ( I dont think I have specified this?)

where the other *.lib files goes into the <my workspace>Wince500\<my platform>\cesysgen\OAK\lib\x86\debug ( cesysgen in different)

Then I've tried to "make run time image" and tried to do a "sysgen" from platform builder, but its the "old" atapi driver that gets included. If I change the atapi driver in its default location, I gets my changes included...

I've tried to include and exclude atapi.dll in the platform.bib file and include the registry in the platform.reg.

Perhaps its because I dont understand how the platform builder goes from the *.lib file to the *.dll file?

Any suggestions on what I can look for?

Tanks in advance.

Torben

"voidcoder" wrote:

It is not clear whether your clone is not built or
is not included into image. What exactly is the problem?

As far as you removed the ATAPI item from your design,
it is not sysgened any more and the corresponding *.bib
and *.reg entries are skipped.

You can either leave the ATAPI component in your OS design
or redefine the required entries in your platform.bib/reg
files. I'd suggest you the first approach, your own atapi.dll
will overwrite the default and you don't have to worry about
the rest of things like *.reg/*.bib entries and ATAPI
dependencies.



TorbenPedersen wrote:
Hi

Perhaps I should give a short intro to what I’m trying to do.
I’m having problems with the ATAPI driver on my CEPC, So I would make some changes to the source file, and to a registry file. So to do it correct, I thought that I should make a copy of the ATAPI driver, put it into my BSP catalog, change what I like to change, and be happy ;-)

But somehow it does not seam like I’m getting the new ATAPI included in my build. Sysgen complains if there is compiler/linker error, so I hope that I’ve made the dirs and sources files correctly. I’ve removed the catalog item ATAPI, as I have the impression that my ATAPI should be in-cluded automatic, is this correct?

Tanks in advance for any help

Torben

--
.



Relevant Pages

  • Re: SYSGEN variable
    ... I haven't cloned the ATAPI myself yet:) Generally ... to modify every piece in the original driver. ... added a WINCEOEM=1 in the sources file ... and *.reg entries are skipped. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: SYSGEN variable
    ... Tanks for you repley, I'm not sure how to do the first approach. ... I've build the "new" atapi driver from command prompt and got som *.lib files ...
    (microsoft.public.windowsce.platbuilder)
  • Re: SYSGEN variable
    ... Tanks for you repley, I'm not sure how to do the first approach. ... I've build the "new" atapi driver from command prompt and got som *.lib files ... and *.reg entries are skipped. ...
    (microsoft.public.windowsce.platbuilder)