|  |  |  |  | 
 B
 Compatibility Guide
  
B
 Compatibility Guideerr = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);romversion parameter should be 0x02003000 or greater.
fldChangedEvent whenever a field object is changed. Previously, the event was at times not sent, especially when a FldSetText operation was performed. If your application doesn't catch the events that are now sent, it may have problems. err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);romversion parameter should be 0x03003000 or greater.
largeBoldFont 
| CtlNewControl CtlValidatePointer FldNewField FrmNewBitmap FrmNewForm FrmNewGadget  | FrmNewLabel FrmRemoveObject FrmValidatePtr LstNewList WinValidateHandle  | 
| FrmRestoreActiveState FrmSaveActiveState ScrDisplayMode (system use only)SysGetOSVersionString | SysGetROMToken SysGetStackInfo SysGremlins TblGetItemFont TblSetItemFont | 
SysAppLauncherDialog function, which provides the API to the old popup launcher, is still present in Palm OS 3.0 for compatibility purposes, but has not been updated and generally should not be used. For more information, see "Application Launcher"  of the Palm OS Programmer's Companion.err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);romversion parameter should be 0x03103000 or greater.
| ChrHorizEllipsisChrNumericSpace FntWidthToOffset FtrPtrNewFtrPtrFreeFtrPtrResizeSelectOneTime WinDrawChar WinDrawTruncChars | 
NOTE:  ThePalmOSGlue.libprovides compatibility functions and macros forChrHorizEllipsis,ChrNumericSpace,WinDrawChar, andWinDrawTruncChars.If you want to use these functions on systems that don't have the 3.1 feature set, you can link your application withPalmOSGlue.lib. See the chapter "PalmOSGlue Library" for more information.
PalmOSGlue.lib, these two macros are named TxtGlueGetNumericSpaceChar and TxtGlueGetHorizEllipsisChar, respectively. Word revision;Err err;err = FtrGet(sysFtrCreator,     	 	 sysFtrNumProcessorID, &id);if (!err) {    chip = id & sysFtrNumProcessorMask;    revision = id & 0x0ffff;    if (chip==sysFtrNumProcessor328)    	 // traditional Dragonball    else if (chip==sysFtrNumProcessorEZ)    	 // Dragonball EZ}preferenceDataVersion was removed and replaced with preferenceDataVerLatest. WChar defines a character variable. keyDownEvent structure's chr field (which contains the input character) has been changed from a Word to a WChar. UnderlineModeType enum defined in Window.h defines the possible values for the underline attribute. onlyLatestVers parameter changed in 3.1. If onlyLatestVers is true, you only receive one matching database for each type/creator pair. In version 3.0 and earlier, you could receive multiple matching databases if onlyLatestVers was true. See that function's description for a more detailed description. err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);romversion parameter should be 0x03203000 or greater.
AlmDisplayAlarm changed from no return value to a Boolean return value. This change may affect system patches and extensions that intercept AlmDisplayAlarm calls. err = FtrGet(sysFtrCreator, sysFtrNumIntlMgr, &value);value parameter will be non-zero and the returned error should also be zero (for no error).
 
NOTE:  If you want to use international functions on systems that don't have the international feature, you can link your application withPalmOSGlue.lib. The functions in this library are the same as those listed below except that they use the prefix "TxtGlue" instead of "Txt." For more information, see the chapter "PalmOSGlue Library" .
err = FtrGet(sysFtrCreator, sysFtrNumEncoding, &value);value parameter is charEncodingCP932.
 
DmSearchStateType searchState;UInt cardNo;LocalID dbID;err = DmGetNextDatabaseByTypeCreator(true, &searchState, sysFileTApplication, sysFileCClipper, true, &cardNo, &dbID);DmGetNextDatabaseByTypeCreator routine returns an error. To check for iMessenger, you can use the creator type sysFileCMessaging.
 
keyDownEvent key codes:
err = FtrGet(sysFileCSerialMgr, sysFtrNewSerialPresent, &value);value parameter will be non-zero and the returned error should also be zero (for no error).
 
err = FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romversion);romversion parameter should be 0x03503000 or greater.
| BmpBitsSizeBmpColortableSizeBmpCompressBmpCreateBmpDelete | BmpGetBitsBmpGetColortableBmpSizeColorTableEntries | 
| OmGetCurrentLocaleOmGetIndexedLocaleOmGetRoutineAddressOmGetSystemLocale | OmLocaleToOverlayDBNameOmOverlayDBNameToLocaleOmSetSystemLocale | 
Byte, Word, DWord and so on are now deprecated. It is recommend that you use the corresponding new data types. For example, use Int16 instead of SWord and UInt32 instead of DWord. In particular, the unfortunate distinction between Handle/VoidHand has been fixed; use MemHandle instead. 
 
PalmOSCompatibility.h. This file provides a mapping from the old type name to the new type name. If you need to move forward without modifying your code, you can include this file in your project to provide declarations for the old type names. 
tapCount field has been added to the tapCount field specifies the number of times the user tapped the pen at the current location; in fields, two taps selects a word, and three taps selects a line. 
IMPORTANT: Because thetapCountfield has been added to theEventTypestructure, it has become more critical that you clear the event structure before using it to add a new event to the queue. Otherwise, thetapCountwill be incorrect for the new event.
value field added to them. This new field is used only for sliders; it holds the current value of the slider. vchrMenu character to the event queue (which causes the form's menu to display). Event.h to SysEvent.h. winEnterEvent. FrmDrawForm erases the window's rectangle before it draws, so you must perform custom drawing after the call to FrmDrawForm, not before. If you have drawn before the call to FrmDrawForm, your changes are lost. On debug ROMs, the window handle is invalid until FrmDrawForm is called so that draws before FrmDrawForm result in a bus error. 
dateStringLength or longStrLength debugging bytes, depending on the dateFormat parameter. For the routines that return the day-of-week name in addition to the date, the size of the buffers has been expanded, so developers need to check the max lengths defined in DateTime.h.
categoryHideEditCategory, and categoryDefaultEditCategoryString.
err = FtrGet(sysFtrCreator, sysFtrNumNotifyMgrVersion, &value);value parameter will be non-zero and the returned error should also be zero (for no error).
|   |  |  |  |  |   |