Start off by using OnBoard RsrcEdit
(http://www.quartus.net/files/PalmOS/Apps/RsrcEdit.zip) to see if everything
is as expected.
LionScribe

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of JM
Sent: Thursday, August 28, 2003 7:40 PM
To: Palm Developer Forum
Subject: How to associate pdb with application?


Presumably a database can be associated with an application by supplying
application and database with identical Creator IDs. I am using a unique,
registered creator ID.

I've set the applications creator ID via PILRC entry:

APPLICATION ID 1 "XXXx"

I've set the databases creator ID by setting the creator field in the header
identically:

dbhdr->creator = 'XXXx';

The database is being made on a desktop computer with the appropriate byte
swapping, etc.

I load both .prc and .pdb resultants onto the Palm platform (I'm using the
emulator right now Palm OS 4.1).  In every other respect the application and
database run fine. But there is no indication that these are associated.
Deleting the application should result in a deleted database, but it does
not. Also, the Records for the application says N/A, though I am expecting
it to have the number of records in the databases associated with it.

Can any experienced Palm Programmer help me out? Is matchin Creator IDs
enough or am I missing something.

Thanks in advance,

James




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



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

Reply via email to