A simple solution which you probably have thought of...
A pdb with multiple records....
Have a fixed no. of bytes in the beginning of the each record which actually
stores the no. of structures that you have in the record.
Caution: A size of a particular record is * a little less * than 64K, so
don't assume you are assured of 64 * 1024 Bytes...
-vc
----- Original Message -----
From: "lklee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, August 03, 2001 4:14 PM
Subject: RE: Create PDB File > 64K
> Actually, There is not only one record on the pdb file, for example, there
> is an struct of record which is in 100 byte in size.
> When the number of records is under 620 ( the file size will be 62*100
bytes
> + header size etc.. which the total size < 64K ), there is no problem on
> doing hotsync. But for the case on the number of records > 64, an error
will
> be found during the hotsync process ( no record found on Palm ).
> Right now my solution is break down the pdb file into several temp pdb
file,
> and that all those temp pdb file record will be consolidated on Palm when
> my program startup. I know this is so stupid on solving in this way, such
> that I want to know is there anyone who can help in others smart way.
> thank you for your kindly advice....
> beat regards
> lklee
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Gavin
> Maxwell
> Sent: Friday, August 03, 2001 11:33 AM
> To: Palm Developer Forum
> Subject: RE: Create PDB File > 64K
>
>
> Sounds like you have a single record in the db - records are limited to
> slightly less than 64k. So you need to create multiple records for your
data
> on the PC. The process will be dependant on how you're creating the pdb in
> the first place.
>
> Regards,
> Gavin.
>
> -----Original Message-----
> From: lklee [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 03, 2001 10:47 AM
> To: Palm Developer Forum
> Subject: Create PDB File > 64K
>
>
>
> I do an project running on Palm and its pdb file are created on PC ( and
> then hotsync to Palm ). I got no problem when the size of the pdb file is
<
> 64K size, but we can't do hotsync the file when the size is going to
excess
> 64K. Right now I do break down the pdb file into several smaller size pdb
> file and then consolidate all those files inside the Palm after files
> received on Palm.. Is there any better idea about this pdb file over 64K?
>
> Best Regards
> lklee
>
>
> --
> 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/
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/