char* bufP;
unsigned short bufLen;
int retval;
int  count;
UInt8 checkSum;
char checksumStr[2];
// holds the dash and the checksum digit
retval = SysGetROMToken (0, sysROMTokenSnum,(UInt8**) &bufP, &bufLen);

take only the first 12 digits out of the buffer and add a null at the end
and you will have the serial Number.

cheers
kunal



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to