Modify cesysgen.bat behaviour in CE5.0



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/
.



Relevant Pages

  • Re: Repost: Code behind events are not firing
    ... IE in a separate window through http. ... unchecked in the file type configuration. ... When a browser runs Word on the command line, ...
    (microsoft.public.vsnet.vstools.office)
  • Re: Netrek XP 2006 v1.3 released
    ... the Netrek Configuration Utility for this version has ... One of the main features of this version is the ability to change all ... No need to edit your netrekrc ever again. ... and the ability to resize the tactical window to smaller/larger. ...
    (rec.games.netrek)
  • Re: How to send a fax from a scanned document?
    ... The first dialog from this wizard lets me pick what image I want to print. ... Configuration Wizard" and shows a summary of settings. ... You should see a window with the title "Fax Properties" with 5 ... To the moon and back with 64 Kbits of RAM and 512 Kbits of ROM. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: "Start program on connection": It isnt centered
    ... He didn't configure the program with TS Configuration but with Group Policy ... Editor and the program starts with a Window in maximized mode and he can not ... server to designate a program to run upon connection: ... How can I get TS to launch the program with its window ...
    (microsoft.public.windows.terminal_services)
  • Re: fvwm vs. fvwm-crystal
    ... Arguably the lightest window manager available. ... A nice, simple, barely need to edit the configuration window ... if I had to choose something to use besides Window Maker it would be ...
    (Debian-User)