On 27-Jan-00 Marcio wrote:
> Hi,
>
> I'm receiving a .PRC file via FTP, loading it in a buffer. So, I use this
> buffer in DmCreateDatabaseFromImage() function to create the new
> application. It works with small programs (10Kb), but it must work also
> with
> large programs (200Kb min).
>
> The point is that I can't allocate 200 Kb of memory to the buffer... I
> don't
> know it very well but, we could allocate up to 64K (with much luck...),
> that
> is the size of the Palm segments of memory...
>
> So, isn't there an "array of buffers type", or something like this that the
> function DmCreateDatabaseFromImage() understands?
>
> Any idea would be very useful...
Code Warrior has an ftp client in the examples directory. It does both send
and receive of PDB/PRC files, in fact I've used their send code in one of my
programs. It doesn't use DmCreateDatabaseFromImage() but rather creates the
DB from scratch -- it's not that hard but you will definitely learn about the
PDB/PRC structure and know it like the back of your hand when you are done :)
/* Chris Faherty <[EMAIL PROTECTED]> */
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html