To Mr. Sevilla and friends,
1. I got pose-3.1, pilrc-2.7b, and prc-tools-2.0.90 to work on my Linux
box. I also downloaded sdk-3.5+docs. I discovered that I could not
get any of the programs in Rhodes & McKeehan "Palm Programming"
(and also MathLib.h/MathLib.c) to work, unless I make a few minor
modifications in the code, namely changes in typedef names:
Int -> Int16
ULong -> UInt32
DWord -> UInt32
etc.
I arrived (by trial and error) at these changes by comparing PalmTypes.h
in sdk-2.0 and sdk-3.5. I have gotten the simple "Hello" program to
work, and I am now writing a more ambitious program. I am not sure
that I got the type mods correctly, so if anyone can give me a more
accurate and complete list, I would be very much obliged. Thanks.
2. The "PalmOS Companion" and "PalmOS Reference" that comes with sdk-3.5
are really for sdk-2.0. The correct functions can be obtained by
reading the 3.5 include files. For example, the Fpl* functions are not in
3.5--they have been replaced by the Flp* functions. Queston: Just how do
you do an sprintf with a "%20g" format for doubles? FlpFToA only
does a "%e" format for floats ( -x.yyyyyyyye-nn ). Thanks again.
When you have a book and on-line docs based on 2.0, and are using 3.5
tools, programming can be quite complicated, to say the least. On the
plus side, I discovered that xpdf supports hypertext, a pleasant surprise
since it makes reading the cross-references in the PalmOS docs a breeze.
PManalastas
_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]
To subscribe to the Linux Newbies' List: send "subscribe" in the body to
[EMAIL PROTECTED]