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/