Hi
This is the pdb format
struct pdb_header { /* 78 bytes total */
char name[ dmDBNameLength ];
DWord attributes;
Word version;
DWord create_time;
DWord modify_time;
DWord backup_time;
DWord modificationNumber;
DWord appInfoID;
DWord sortInfoID;
char type[4];
char creator[4];
DWord id_seed;
DWord nextRecordList;
Word numRecords;
};
and 2 more bytes for padding of header
struct pdb_rec_header { /* 8 bytes total */
DWord offset;
struct {
int delete : 1;
int dirty : 1;
int busy : 1;
int secret : 1;
int category : 4;
} attributes;
char uniqueID[3];
}
format
--------
firat header, nest record headers, nect records like that. its like a series
of binary records
Ya. we can create and read pdbfiles on desktop also. U can semlessly sync
that pdbs to palm.
with regards
Prasad bathini
----- Original Message -----
From: gaurav palvia <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Sent: Thursday, May 25, 2000 1:38 PM
Subject: format of a .pdb file
> as we know when a databse on the palm is saved on the destop it is saved
as
> a .pdb file.It means that the .pdb file not only include the complete
> database header for that particuar database but also contains all the
> records in the database.
> so can i know the format of the .pdb file. is there any tool which can
> disply me the
> the headres and contents of all the records of the database.
>
> My next question is thet is there any way that i can create a .pdb file on
> the desktop
> and then directly sink it to the Palm device so that i can use it directly
> in the my palm
> app and i will not have to create it explicitly on the palm device.
>
> Thanx in advance
>
>
>
> --
> 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/