Thanks,

The CodeWarrior NetSample application has the code I needed to read the Palm
database files...

Marcio


-----Original Message-----
From: Chris Faherty <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Thursday, January 27, 2000 15:18
Subject: Re: DmCreateDatabaseFromImage() & memory allocation


>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
>


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to