This function looks like Handspring-specific function (HsXXXX). So, when I am 
writing code that runs on all Palm devices, what checks should I perform before 
calling this function.

For example:

if (this_device_is_hs_device)
{
  HsGetVersionString(hsVerStrSerialNo, versionStr, NULL); 
}
else
{
  SysGetROMToken(....);
}

What should the "this_device_is_hs_device" check be. Do let me know.

Thanks & Regards
Anand Sinha

==============
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 

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

Reply via email to