> In my application, I want to be able to call WinScreenMode if the OS version is
> 3.5 or greater, and ScrDisplayMode if it is not.
>
> However, ScrDisplayMode is not defined in SDK 3.5. So, should I :
>
> (a) copy the appropriate header file (ScrDriver.h) from SDK 3.0 to one of the
> current include directories, OR,
> (b) declare the function myself in one of my header files?
how about just renaming your call to ScrDisplayMode?
palm just changed the name of the function.. if you were *really* lazy,
you could probably just do this:
#define ScrDisplayMode WinDisplayMode
> How is this problem tackled in general?
well, we read the documenation/changes and realize that the function
name was changed and make the appropriate changes
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/