At 11:08 PM -0800 3/18/1999, Steve Lemke wrote:
>You can use my code example (SysLibFind, etc.) for Palm OS versions 3.1 as well as 
>3.0. <snip>
>Starting with Palm OS version 3.2, the "New SerialMgr" MAY or MAY NOT be available. 
><snip>

Actually, I'm not using the serial library. I'm using the irLibName="IrDA Library" 
library.

>BTW, you should probably not assume that every post-3.0 device has IR.

Ok. My current compatibility check code looks like this:

        FtrGet(sysFtrCreator, sysFtrNumROMVersion, &romVersion);
        if (romVersion < 0x03003000)
                return false;
        if (sysGetROMVerMajor(romVersion) == 3 && sysGetROMVerMinor(romVersion) == 0)
                return GHwrMiscFlags & (hwrMiscFlagHasCardIrDA | 
hwrMiscFlagHasMbdIrDA) != 0;
        else
                return true;

It sounds like I should change the minor ROM version test to allow 3.0 or 3.1. But 
what should I do about 3.2 and later versions? Thanks again.
-
Danny Epstein     *     mailto:[EMAIL PROTECTED]
Applied Thought Corporation     *     http://www.appliedthought.com
Flytrap for PalmOS     *     http://www.appliedthought.com/flytrap

Reply via email to