How To - The IFO Format

last update 18th November 2001

MailTo:Juergen.Schwister@gmx.net
http://home.vr-web.de/jSwi

The IFO File contains information that is stored in the AppInfo Area of a PDB file (Palm Database). It contains information e.g. about category labels, sort order etc., the content depends on the Application that uses that pdb. The order of Sections are up to you.

Categories

The lables of the categories can be set in the Section [Categories]. The values for MaxNumCategories and MaxLengthCategory should not by changed. Usually the value for that entries will be 16. During the creation of the PDB those value will not be mentioned. The categorie labels start with index 0 up to 15 Lables longer then MaxLengthCategory will be cut (they are actually cat behind the 15th bytes, because of the 0x00 that is used to terminate a C/C++ String). More than MaxNumCategories Labels are not supported. Because the system starts with index 0 the max. Label index is 15

Example:

		[Categories]
		MaxNumCategories=16
		MaxLengthCategory=16
		0=unfiled
		1=A CategoryLabel
		2=xxxx
		3=personal
		4=yyyy
		

The Label at index 0 should not be changed. It is used by the PalmOS™ for the unfiled category.

CategoryUniqueIDs

Each Category must have a unique ID. If you create new Categories just use the next free. Refer to SDK Docks for further informationen.

Example:

		[CategoryUniqueIDs]
		LastUniqueID=3
		0=0  -->> changed to 0=0 without >"<
		1=1
		2=2
		3=3