Documentation  |   Table of Contents   |  < Previous   |  Next >  

117    SysUtils.h

Porting Applications to Palm OS® Cobalt

Exploring Palm OS®

Palm OS Cobalt doesn't support resource chains (except for backwards compatibility purposes). Consequently, you now have to identify the resource database to be searched when using either SysCopyStringResource() or SysStringByIndex().

Palm OS Cobalt, version 6.0 doesn't support Gremlins. This affects a couple of #defines.

Deleted APIs ^TOP^

Table 117.1  Deleted #defines

Deleted API

Use instead

GremlinIsOn

Nothing. Gremlins is not supported in this release of Palm OS Cobalt.

SysGremlins

HostControl. But note that Gremlins is not supported in this release of Palm OS Cobalt.

Modified APIs ^TOP^

Table 117.2  Modified functions

Modified API

Description of change

void SysCopyStringResource (char *, DmOpenRef, DmResourceID)

Palm OS Cobalt doesn't support resource chains (except for backwards compatibility purposes). Consequently, you now have to identify the resource database to be searched. Accordingly, the second parameter was added (a DmOpenRef), and the final parameter was changed from a UInt16.

char *SysStringByIndex (DmOpenRef, DmResourceID, uint16_t, char *, uint16_t)

Palm OS Cobalt doesn't support resource chains (except for backwards compatibility purposes). Consequently, you now have to identify the resource database to be searched. Accordingly, the first parameter was added (a DmOpenRef), and the second parameter was changed from a UInt16.

Unchanged APIs ^TOP^

Table 117.3  Unchanged functions

HostControl()

SysBinarySearch()

SysErrString()

SysFormPointerArrayToStrings()

SysInsertionSort

SysQSort()

SysRandom()

Table 117.4  Unchanged macros

Abs()

Table 117.5  Unchanged types

CmpFuncPtr

SearchFuncPtr

Table 117.6  Unchanged #defines

sysRandomMax