On 2006-04-11, Borszczuk <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am getting problems supporting hires on Tungsten T. The problem
> is I check against device ROM version and Win version:
>
> FtrGet(sysFtrCreator, sysFtrNumROMVersion, &ROMVer);
> FtrGet(sysFtrCreator, sysFtrNumWinVersion, &WinVersion);
>
> #define ourMinVersion sysMakeROMVersion(5,0,0,sysROMStageRelease,0)
>
> if ((ROMVer < ourMinVersion) || (WinVersion < 4)) {
> ... sorry, no hi-res supported.
> }
>
> but the ROMVer on that device returns 05000000 while ourMinVersion
> is 05003000. What do I do wrong? Or where's the catch?
>
You are not doing anything wrong. The Tungsten T was shipped without
setting the sysROMStageRelease part of the ROM version. So if you want to
support the Tungsten T you will have to use:
#define ourMinVersion sysMakeROMVersion(5,0,0,sysROMStageDevelopment,0)
as you found out ;-).
HTH
Ton van Overbeek
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/