Hello Curtis,
I did a port of a game I wrote in Palm OS 3.1 to Palm OS 3.5 and it seemed
to work OK for me. Here's what I did:
1. Replace <Pilot.h> with <PalmOS.h>
2. Add <PalmCompatibility.h> - saves me the trouble of having to go through
and rename each data type.
I had to rename some resource names when I switched to using Bitmap and Icon
Families but other than that it went pretty smoothly. Hope this helps!
Rgds,
Jun-Kiat Lam
Metrowerks Technical Support
----- Original Message -----
From: "Curtis Scoville" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, June 08, 2000 1:43 PM
Subject: Re: PalmCompatibility.h for SDK 3.5
> When you included PalmOS.h, did you have any problems? When I just put in
> the include stmt, I get a message saying the file cannot be opened, and
when
> I try to add the file to my project via the project window, I get extra
> characters showing up in the file name that make it unrecognizable to CW.
I
> have rechecked my access paths. This is the only file I am having this
> problem with.
>
> "Hannes Frischat" <[EMAIL PROTECTED]> wrote in message
> news:13470@palm-dev-forum...
> >
> > 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/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/