Curtis Scoville wrote:

> I am in the process of getting an application that was coded for v3.1 to run
> with v3.5.  I included the header file PalmCompatibility.h to help deal with
> new datatype names, but now I am getting several errors and numerous
> warnings for this file when I build.  Has anyone resolved this successfully?

What I did was:
(1) Use <PalmOS.h> instead of <Pilot.h>
This references to <PalmTypes.h>, so

(2) Replace the old datatypes with those from PalmTypes.h

Replace
CharPtr        with        Char*
VoidHand    with        MemHandle
UShort        with        UInt16
ULong         with        UInt32
FormPtr       with      with FormType *

and so on.

I am glad I did it because now my code fits to the documentation I have :-)


Hannes Frischat
Learn to write quick with
http://fitaly.com/fitalystamp/fitalyletris.zip


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to