I want to obtain a raw PRC file from a serial port and create a shared library at runtime. Basically I want to hot sync over my PRC file, but without using hot sync. I want to control the obtaining of the bytes and storing them into the Palm's storage RAM. I know this is non-standard but its for a custom Palm device with extra hardware. The bytes are coming from another processor within the unit.
The Palm applications are resource databases, so it seems possible to create a new database and copy the serial data bytes into this newly created database. Once loaded into RAM, someone could use the Palm API SysLibLoad() to work with the newly created shared library. I think the process should be something like: (this is all running on the Palm) 1. Get the entire PRC file from the Palm's serial port. 2. Extract from the raw PRC the Palm database header information. 3. Use DmCreateDatabase() to create a resource database using the header information obtained (name, creator, attributes, etc...). 4. Copy the remaining PRC file, minus the Palm database header, to the newly created database. 5. The new resource database (i.e. the shared library) is now in RAM and should be accessible by any application. Has anyone done this? Is there some reason why this is not possible? If so, am I on the right track? Thanks -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
