Rob
Thu Apr 17 01:07:02 PDT 2008
Removing files is often a real nightmare in wince, deu to dependencies.
For this reason I made a tool that I call from the premakeimage buildstep,
that filters lines from bibfiles. This way the endresult is reproducable in
an automated way...
The tool allows me to remove anything, without interference from the
build-system
Ofcourse I do this at my own risk, removing the wrong files can cause
problems.
Greetings,
Rob.
"Michael Salamone" wrote:
> 1) Virtual allocations are still 64K granularity (has been that way on big
> Windows and WinCE forever), so small DLLs will still take a minimum of 64K
> virtual address space. The significant change between CE 5 and 6 is that
> the process address space has increased from 32MB to 2GB - so you can get
> alot more 64K chunks in CE 6.
>
> 2) I don't know really what you mean. First, 5.01 is Windows Mobile and
> really shouldn't be discussed in public forums (under NDA). For the most
> part, though, the same features in CE 5 Platform Builder are in VS plugin -
> you just have to look around to see where it is (and organization of
> features is *about* the same). For image size, though, you can minimally
> look at the size of the built nk.bin file (from ce 2.11 until now).
>
> 3) I'd have to research - hopefully someone else here has the quick answer.
> But in general, yes, .bib files is how files get into your image. You
> shouldn't touch standard WinCE .bib files (those that get installed).
> Hopefully there would be a SYSGEN flag to get if you get those bmp files or
> not, but off hand I don't know (and unfortunately not in a place where I can
> easily check it out right now).
>
> 4) I think you'd do this in BSP flags that get set in your BSP batch file.
> This reference doesn't discuss that directly, but probably get you pointed
> in the right direction:
>
http://msdn2.microsoft.com/en-us/library/aa909549.aspx. But for example, if
> was set BSP_KEYPAD, then the batch file could auto-set BSP_I2C. If you're
> setting up catalog, you might be able to do it with .cec (which is for CE 5
> and earlier. Here's a reference for CE 6 equivalent:
>
http://msdn2.microsoft.com/en-us/library/aa913951.aspx.
>
>
> 5) Yes, but it's CEDB as opposed to EDB. EDB is probably preferred, but
> really up to you to determine the requirements for your DB and if CEDB meets
> those requirements.
>
> --
> Michael Salamone, eMVP
> Entrek Software, Inc.
> www.entrek.com
>
>
> "George H." <GeorgeH@discussions.microsoft.com> wrote in message
> news:F9C66F44-1B15-45C3-8A21-D6E6FEAC8EC1@microsoft.com...
> > Hello to all of you
> > I have several questions about Windows CE 6.0. So if you would know the
> > answer, please help.
> > 1. In WinCE 5.0, a dll file loaded into memory needs 64 kB, even if it is
> > smaller. So if I need to load more small dlls, it consumes too much
> > virtual
> > memory space. In WinCE 6.0 this problem is gone, right? Can anybody
> > explain
> > why? I know new WinCE 6.0 memory model but are there any changes in rules
> > of
> > dll loading?
> > 2. In Platform builder in WinCE 5.0 I can see rough OS image size. Is it
> > possible to see this value in Visual Studio with WinCE 6.0 plugin?
> > 3. I need to remove some files from my OS image, for smaller size. I would
> > like to remove windowsce.bmp logo file, for example. Are there any way,
> > how
> > to do it in some project files (project.bib, ...)?
> > 4. I need to add some dependecies in my BSP catalog. For example, I have
> > I2C
> > driver and drivers for keyboard and display attached to this BUS. If I add
> > the keyboard driver, I2C driver must be added automaticaly. It can by done
> > by
> > setting some catalog item values, it's easy. But are there any other way?
> > If
> > I try to remove I2C driver, it's not naturally possible. IDE will say to
> > remove (own, i.e. I2C driver) value, which is set by other dependent
> > items.
> > But I think it would be better to display the list of names of all
> > dependent
> > items, which this value set. Is it possible to do it?
> > 5. And finally, in *.db file I can define both database structure and some
> > initial content (for example some names or phone numbers), right?
> >
> > Thanks to everybody, who will answer for some questions!
> > George H.
>