Search Wiki:

SharpPDB

About a year ego I needed to sync between an application I had on my PC to an application on my Palm device and so I've written a library in C# that can read and write pdb (palm database) files.

Like many other projects I forgot about it and left it half complete. A few days ago I stumbled upon my old C# project directory and found it again. It seems a shame to loose code I've worked on and that could benefit my follow coders.

The PDB is combined from fourlogical part:

  • Header that describe the file properties and attributes.
  • Record list that defines the structure of the raw data.
  • Raw data block.
  • SortInfo and AppInfo blocks

In my code you can see the following:

  • PDBFile - class that represents an actual pdb file.
  • PDBHeader - has all header related information.
  • RecordList - contains all record related information and a collection of RecordEntry that contains the raw data information.
  • SortInfo & AppInfo - should have hold that information but I haven't implemented them yet.

More information on Palm OS File formats is available at:http://www.google.com/url?sa=t&source=web&ct=res&cd=1&url=http%3A%2F%2Flauriedavis9.tripod.com%2Fcopilot%2Fdownload%2FPalm_File_Format_Specs.pdf&ei=usa6SJjYIYTQerWqxJkD&usg=AFQjCNE4dGs3uGUGRSSavU4WMhs-Vba90Q&sig2=ikNzgQtcO8yZqIOdjQNfdg
Last edited Sep 1 2008 at 8:20 PM  by dhelper, version 5
Updating...
Page view tracker