Am Mittwoch, den 15.03.2006, 17:06 +0000 schrieb [EMAIL PROTECTED]: Hi,
> The user start the Delta application (Delta.prc). When it loads it > dynamically loads innoflights.prc. One piece of the information that > it give innoflights.prc is the creator id. This way innoflights.prc > can load delta's data (delta.pdb) based off of the creator id. The > delta.prc is really just a stub launcher. Wouldn't it be easier to just incorporate the whole functionality into one PRC file? This would also be easier for the customer and it seems it would save you a lot of trouble as well ;-) Not to mention that the user would only see one PRC file instead of two right now (or maybe even more???), which I personally would consider quiet annoying. If your customers only have one PDB file, this would be quite easy. If they have more than one PDB file, you may just add support for selectable databases in your application. > The problem is getting this to run on the expansion card. I have the > first part working. Delta.prc loading the innoflights.prc but it > fails loading the data. I really do need to do it by creator id. If you want to continue with two files you will need to do as I said before: scan the /Palm/Launcher directory for a file called innoflights.prc and either assume that this is your PRC or do a check by using VFSFileDBInfo to get its creator ID (if you do not find innoflights.prc, you could also go through all the files in that directory checking their creator ID, but this may be a bit slow) Same will apply for the PDB file. Daniel -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
