Modify cesysgen.bat behaviour in CE5.0
- From: "Leif O" <leif_nospam@xxxxxxxxx>
- Date: Tue, 12 Jul 2005 09:21:49 +0200
I have a 4.2/5.0 based headless project that basically only needs the "Minimal GWES Configuration" feature (SYSGEN_MINGWES) from the "Graphics, Windowing and Events" catalog folder. Additionally, I also need to include timer support in my image (SetTimer/KillTimer) which is included in the "Minimal Window Manager Configuration" feature (SYSGEN_MINWMGR). However, pulling in the minimal Window Manager also makes "Minimal GDI Configuration" (SYSGEN_MINGDI) and the and "Minimal Input Configuration" (SYSGEN_MININPUT) being included (obviously due to dependencies), which makes my image size grow by several hundred kBs.
In Windows CE 4.2 I solved this issue by modifying the cesysgen.bat file, located in my project tree. I simply added the line "set __SYSGEN_GWE_TIMER=1" independently of the inclusion of the Minimal Window Manager, which added the timer component without adding all the rest of the Window Manager (and GDI) stuff. This worked fine, so obviously the timer component did not have any dependencies with the rest of the Window Manager components.
In Windows CE 5.0, however, the cesysgen.bat configuration has changed. The project specific cesysgen.bat file now points to a file in the public tree (%_PUBLICROOT%\cebase\oak\misc\cesysgen.bat) that is shared between all projects. This global cesysgen.bat file calls other public .bat files to do the job, including winceos.bat that handles the timer component. I've tried to modify this file in the same manner as for 4.2 and this works fine. However, changing this public file is a BAD idea, as it will affect all projects, but I haven't yet found another solution. My question therefore is: Is there a way I can change the cesysgen.bat behaviour without changing the public files ?
Regards, Leif O
-- leif AT vmetro DOT no
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ .
- Follow-Ups:
- Re: Modify cesysgen.bat behaviour in CE5.0
- From: Steve Maillet \(eMVP\)
- Re: Modify cesysgen.bat behaviour in CE5.0
- From: Andrew Schweitzer
- Re: Modify cesysgen.bat behaviour in CE5.0
- Prev by Date: Re: USB to Serial device driver for CE.NET 4.2
- Next by Date: Stream driver Power management
- Previous by thread: Re: USB to Serial device driver for CE.NET 4.2
- Next by thread: Re: Modify cesysgen.bat behaviour in CE5.0
- Index(es):
Relevant Pages
|
|