It is quite easy and the pilrc website has a very nice and easy-to-understand
manual.  Please read it at http://www.pilrc.com.

One example here:

BITMAP ID 1234 "mybitmap.bmp".

You can also specify bitmap family, which is a collection of bitmaps with
different depth.  Again, read the manual to find out more.

Basically, the generated pdb file is actually a resource database.  Each bitmap
will be a resource with type and ID.  All you need to do in your program is to
open the database and find the resource record by the type and resource ID. 
After that, you can use the bitmap the same way as you do with the bitmaps
included in your app.

Max
--- averoes <[EMAIL PROTECTED]> wrote:
> i think my app is too big because
> without the bitmaps : 40 Ko
> with bitmaps : 400 Ko !!! (~100 bmp)
> so i want to create a separate file (pdb) to display my bitmaps. I've
> download PilRC but since it's the first time i use it, i haven't yet
> understand it ;-(
> Can i create a RCP which contains only bitmap and how to structure this pdb
> file to be able to call these bitmap from my prc ???
> If you have some tips or advice, it will help a lot !!!!
> 
> THANKS.
> 
> "Stringer" <[EMAIL PROTECTED]> a �crit dans le message news:
> [EMAIL PROTECTED]
> >
> > --- averoes <[EMAIL PROTECTED]> wrote:
> > > Hello All !
> > > I wrote an application which contains a lot of bitmaps (~100) but my prc
> > > became too big !
> > > I wonder if it's possible to create a "bitmap pdb" to display all the
> > > bitmaps from my prc ?!?
> > > How can i do this ? is it possible to create a "bitmap pdb" from my
> desktop
> > > (like pdbmake do to create a text pdb) ? or do i have to create this
> "bitmap
> > > pdb" from CodeWarrior (BmpCreate ...) ?
> > >
> > > I appreciate any suggestions.
> > >
> > > Thanks in advance.
> >
> >
> > Why too big?  What specific issue are you running into that is causing
> > you to need to split out the bitmaps?
> >
> > If you are supporting OS versions before 4.0, there are software
> > deployment benefits to keeping a single PRC file.
> >
> > Roger Stringer
> > Marietta Systems, Inc.
> >
> >
> >
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to unsubscribe, please
> see http://www.palmos.com/dev/tech/support/forums/


__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to