Here's a try... You could possibly build the prc in a such a way that each of your sub-apps is a separate segment. Additionally you would have to ensure that all the resources in all of the applications have unique ids (App 1 1000-1999, App 2 2000-2999, etc.). The difficult part of this is perhaps the fact that you'll have several copies of PilotMain, but that shouldn't be a problem since that is typically identical for every application anyways and usually calls the "real" main of the program. Make it call a pointer to the "real" main, and that little indirection would allow you to have multiple "real" mains in the big application with only one PilotMain.
Part of this PRC is the program that knows how to build the individual PRCs from the contents in this big program. It would then copy the code and other resources from the big PRC to the individual applications, building those as it goes along. Pretty sure this would work and wouldn't be too bad to implement. K -----Original Message----- From: Kunal Taneja [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 15, 2001 10:39 PM To: Palm Developer Forum Subject: RE: how to combine a couple of prc's into a single prc and then on the palm device separate them HI Murali thanx but I do not want to do it from a third party tool i want to create a software which will do it for me can someone guide me regarding the code i will have to write to accomplish the problem Kunal -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of murali mohan vylur Sent: Friday, November 16, 2001 3:57 PM To: Palm Developer Forum Subject: Re: how to combine a couple of prc's into a single prc and then on the palm device separate them Kunal, You can accomplish this with the help of following tools: Pilot Install and PIA creator. You can get information about them and also download them from the following site. http://pinstall.envicon.com/e/pinstall/pinstall.html I hope it solves your problem. regards, Murali. >From: "Kunal Taneja" <[EMAIL PROTECTED]> >Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]> >To: "Palm Developer Forum" <[EMAIL PROTECTED]> >Subject: how to combine a couple of prc's into a single prc and then on the >palm device separate them >Date: Fri, 16 Nov 2001 14:04:44 +1100 > >HI All >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 >in turn separate all individual prc's on the user's device >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. >Regards >Kunal > > >-- >For information on using the Palm Developer Forums, or to unsubscribe, >please see http://www.palmos.com/dev/tech/support/forums/ _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- 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/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
