Hey, that sounds exactly what I need, thanks! :)
Actually, my terminology is probably skewed. I don't *need* an .PDB file, per se. I just want my application to be able to open up bitmaps from someplace OTHER than the app itself. If I can store the bitmaps in ".PRC" files, I guess as long as their not marked as type APPL, then the launcher won't display them, and I can create some form of DATA type for the bitmaps, and then enumerate all the databases to find my application-specific bitmaps (but they'll be stored as .PRC files, not .PDB files). I guess the extension of the file really doesn't matter, I just want to be able to create lots of bitmaps and upload them to the device on an arbitrary basis. Thanks, Doug. -----Original Message----- From: Mark A. Peters [mailto:[EMAIL PROTECTED]] Sent: Wednesday December 19, 2001 12:05 To: Palm Developer Forum Subject: Re: Building a .PDB Bitmap Resource with CodeWarrior R8? > "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/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
