From: Emmanuel S. <se...@ac...> - 2003-04-15 15:36:55
|
On Tue, Apr 15, 2003 at 05:07:59PM +0200, Uwe Kloß wrote: > > I'm on the way of implementing a helper class for this > package that can be used just like the others (Memo, Address,...) > to access the contents of Pilot-Db files. Sounds very neat! > Also it is not yet possible to change the AppInfo. > (I.e.: Defaults, Database structure, etc.) Isn't possible to use PackAppInfoBlock() to create/modify an AppInfo block? > I would like some input on other versions of Pilot-Db > and general comments as well ofcourse. > Someone like to volunteer? Oh yes, oh yes, oh yes :-) > When writing back the data to a palm file, some of the Header > bytes (PDB header, not AppInfo) get zeroed out. > (Offsets into the file are 16-32 and 183-184) From what I've been able to deduce: Bytes 16-32 are the second half of the field "Name" . For a pilot-db file, this should contain the name of the database, the extra bytes being zeroed out. All the pilot-db databases I've ever handled have an AppInfo offset of 88 which means that the pdb header is 136 bytes long. I have no idea what bytes 182 and 183 contain. Emmanuel |