Hi Sinha, You can use this: #define hsVersionStringSize 32 char versionStr[ hsVersionStringSize ]; HsGetVersionString(hsVerStrSerialNo, versionStr, NULL);
You'll have to include the headers from the palmOne SDK, though. Hope this helps! -Jon ------------------------------------------- Jonathan Hays Palm OS Certified Developer http://hazelware.luggle.com ------------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Anand Sinha Sent: Wednesday, December 08, 2004 1:14 PM To: Palm Developer Forum Subject: Serial Number on Treo devices (Programmatically) Palm advertises an API call "SysGetROMToken" to get the Serial Number. However, this does not return a proper value on Treo devices. Treo devices do have a serial number (though may not be Flash-ROM based). The following site mentions how to get the serial number non-programatically: http://kb.palmone.com/SRVS/CGI-BIN/WEBCGI.EXE/,/?St=10,E=0000000000105325443,K=1110,Sxi=14,useTemplate=Case.tem,CASE=978 I wanted to find out if there is an alternate API (or alternate parameter to be passed to the SysGetROMToken API) or a different technique to get the serial number. Suggestions for any other unique identifier for the device is okay for me - howver, the Hotsync user name will not do. Hoping for an early response. Sinha Anand -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
