On Fri, 1 Mar 2002, Danny Epstein wrote:
> If your app checks the OS version at run-time, be warned that:
>
>   FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romVersion);
>
> will return 0x04000000 on a Palm OS 4.0 ROM, not 0x04003000. This is true
> for both debug and release ROMs. The bug was apparently fixed in Palm OS
> 4.1. So rather than comparing with:
>
>   sysMakeROMVersion(4, 0, 0, sysROMStageRelease, 0) = 0x04003000
>
> you should compare with:
>
>   sysMakeROMVersion(4, 0, 0, sysROMStageDevelopment, 0) = 0x04000000
>
> Or you can use:
>
>   ((sysGetROMVerMajor(romVersion) == 4) &&
>    (sysGetROMVerMinor(romVersion) == 0)
>
> or similar logic to extract the relevant bits of the ROM version feature,
> ignoring the incorrect bits.

  heh.. i was wondering about this.. i noticed this problem with the
  rom version prior to palmsource playing around.. but, i was working
  with dr' releases :) so, it wasn't really "Release" versions yet :P

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


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