Am Mittwoch, den 15.03.2006, 16:28 +0000 schrieb [EMAIL PROTECTED]: Hi,
> Here is my next question. > > the application I am working on has A.prc dynamically loading > innoflights.prc (generic code) that turns and loads A.pdb. A.prc and > A.pdb have the same creator id. > > I using the call, > error = > DmGetNextDatabaseByTypeCreator(true,&state,'appl',launchInfo->creatorID,true,&cardNo,&ResourceDbId); It's getting slightly confusing, maybe you should let us know more details what A.prc and A.pdb are and what you need innoflights.prc for. Right now it seems overly complicated to have two PRC files who access each other. Regarding your previous email, you may also want to delete the PRC created with VFSImportDatabaseFromFile as otherwise it will stay in RAM (when the user explicitely moved it to VFS). > This works if the a.pdb is in main memory but since I want the a.prc and > a.pdb both on the card, this fails. I was reading the documentation > http://www.palmos.com/dev/support/docs/palmos/VFSMgr.html#996932 > but I did not find anything like this in VFS to load based off of creator id. As you can't use any Dm calls for files in VFS, you will need to stick with what http://www.palmos.com/dev/support/docs/palmos/VFSMgr.html gives you. That is, you will open by filename and you can't search by creator ID. Of course you could go through all files (or only ones with promising names?) and use VFSFileDBInfo to get the creator ID of a file. Daniel -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
