>1. Where can I find documentation about simple date types like Word, Uint,
>or even PointType,
>and what is the big difference between Byte and UInt8 and all the other new
>types.
<http://oasis.palm.com/devzone/knowledgebasearticle.cfm?article_id=1544>
>2. What does it take to convet a regular ansi C program that was designed
>for windows for example,
A "regular ansi C program that was designed for windows"? Isn't that a
contradiction? If it's designed for windows, how is it an ansi C program?
>to a program that runs on the palm OS. I'm talking about changing all 'int'
>to 'Word', every 'malloc' to NewPtr/Handle,
>'char *' to 'CharPtr' etc.
That's a rather open-ended question. To answer your specific question:
* if I were you, I wouldn't change any types unless the compile complains.
* if I were you, I'd just add my own malloc function that calls NewPtr. At least
to start with. Later, I'd switch over to using handles, making sure I was
allocating as little space as possible.
-- Keith Rollin