"DIAMOND JEFF" <[EMAIL PROTECTED]> wrote in message
news:40633@palm-dev-forum...
>
> I'm trying to write code that works under both OS 3.5 and OS 3.1.
>
> The only way to insert OS 3.1 specific calls into my OS 3.5 compiler SDK
> is to include <PalmCompatibility.h>.
Like Chris said, the PalmCompatibility.h header is only for type conversion.
If a call is the same from 3.1 to 3.5, no problems.
If a call changed, then usually there will be a version with a V31 or V33
suffix around that you can call to work on both old and new OSes.
Rememeber, all these calls turn into system traps with stuff on the stack.
Just because 32 bits of unsigned int was called DWord and now is UInt32
doesn't change how it looks to the OS. If the trap is the same, then you're
in the game.
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/