Hi, HotPaw Basic uses this technique to create launchable applets. I created a small template PalmOS application prc file to bundle with the main application, converted this template prc file into a data resource, then included the data rsrc file in the main applications resources. Then when someone wants to create a new applet, the main application opens the data resource, copys its contents into memory, changes some items at known offsets (pdb name, creator, etc.), checks to make sure there aren't any prc name/creator conflicts, then calls DmCreateDatabaseFromImage() to do all the real work of creating the extracted application. Seems to work just fine.
So as to not waste memory, I suppose the contained applications could even try to delete the data resource containing themselves in the mother prc (since a running app was obviously unpacked already) if it's not in unwriteable storage. Ron Nicholson Hotpaw <http://www.hotpaw.com/rhn/hotpaw> ---- original message ---- In "Palm Developer Forum" <[EMAIL PROTECTED]>, "Kunal Taneja" allegedly writes: ... >what i want to do is as follows >I have a number of prc's and i want to combine these prc's into a single >prc(on the desktop). >then i will beam this prc to the user's palm and then launch this final prc >which will >can anyone guide me how to combine different prc's into a single one and >then extract these >prc's on the device from the single big PRC. ... -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
