> I've hit this same problem. What do I do if I want to be compatible with OS > 2.0+? That's where the real issue comes into play for me. The > WinScreenMode function isn't available there. But ScrDisplayMode isn't > available at compile time because I'm building with a more modern SDK.
there is no way to change into another display depth prior to 3.0 with an API provided by Palm. some game developers could hack the motorolla cpu registers to change into grayscale - and, many did this. ScrDisplayMode == WinDisplayMode its the *same* API trap number. palm just changed the name. you do not have to use both functions - the compile down to exactly the same thing. > When I first hit this problem, I guessed I'd have to figure out a way to > point the compiler at two different SDKs. When it couldn't resolve the > reference to ScrDisplayMode from the OS5 SDK, it would then follow its > include and library paths to a later entry and find it in the OS2 SDK. But > I haven't really done that yet to see if it works. no. you can use WinDisplayMode with the OS5 SDK and it'll work on 3.0 --- Aaron Ardiri [EMAIL PROTECTED] CEO - CTO +46 70 656 1143 Mobile Wizardry http://www.mobilewizardry.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
