> "Doug McFadyen" <[EMAIL PROTECTED]> wrote in message
> news:71584@palm-dev-forum...
> >
> >
> > I've been reviewing all the posts in the forum on how to create, use,
> and
> > manage .PDB resource files. I have not yet seen any definitive answer
> to
> > the following...
> >
> > Can CodeWarrior R8 (in conjunction with Constructor) create JUST a
> bitmap
> > resource .PDB file with no code?
>
This can be done fairly easily using CodeWarrior (but as others have said,
the result is a resource database, a .prc, not a record database). I did it
like this:
1) Create a build target for your resource database, and make it a "Palm OS
Code Resource" in the "68K Target" settings panel.
2) Create one .c (or .cpp) file containing a dummy startup function:
#define dummyStartup __Startup__
void dummyStartup (void);
void dummyStartup (void)
{
}
3) Create your Constructor file with the desired bitmaps and bitmap
families. You can also use PilRC files.
4) Include the .c/.cpp file and the Constructor file in the target.
5) Build. The result will be a resource database with no code in it that
you can access from your program like any other resource database. I guess
the linker strips out the dummy function.
Mark Peters
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/