so i can create a RCP file directly from CodeWarior ? (sorry if this
question seems stupid for you but i'm very newbie in pilrc and rcp) How ?

"Mark A. Peters" <[EMAIL PROTECTED]> a �crit dans le message news:
[EMAIL PROTECTED]
>
> Define a build target with a "Project Type" of "Palm OS Code Resource",
> create your .rcp file with the necessary bitmap/bitmap family definitions,
> and create a single .c or .cpp file containing:
>
> #define dummyStartup __Startup__
> void dummyStartup (void);
> void dummyStartup (void)
> {
> }
>
> Put the .rcp and .c/.cpp file in the target.  When you build this target,
> you will get a resource database that can be installed with your app.  You
> will also need to create a .h file containing the #define's for the bitmap
> IDs so your code can use them to reference the bitmaps (unless all the
> references are in your Constructor forms).  In your app, add code at
startup
> time to open this resource database, and at shutdown time to close it.
> References to your bitmaps will be satisfied from the open resource
> database.
>
> Note that the combined size of your bitmap resource database and app (with
> the bitmaps removed) will still be 400K, so you won't actually save any
> space.  This will also mean that people can't beam your app using the Palm
> OS "Beam" menu item, because the resource database will not be beamed with
> the app (unless you use the "bundle" feature under OS 4.0 and later).
>
> Mark Peters
>
> "averoes" <[EMAIL PROTECTED]> wrote in message
news:73802@palm-dev-forum...
> >
> > 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/

Reply via email to