I have been trying to get a program called "colors" to work using Metrowerks Code Warrior for Palm OS. Everytime I debug the program, none of the functions are recognized. What do I need to do to have these functions recognized? . . . Do I need to change something in the program to jive with the SDK?
Program code (pdf) available at:
www.netmeister.org/palm/Example/PalmExample.pdf
It actually is easier to work from
http://www.netmeister.org/palm/Example/PalmExample.html
This example was build for an old version of prc-tools, one prior to version 2.0. You can tell this because it uses callback.h. It also uses a Palm OS SDK prior to version 3.5, as shown through its use of types like DWord and its use of the <Pilot.h> header rather than <PalmOS.h>. It also is a bit bogus in that colors.c #includes the other source files, rather than having them be separately compiled. After I got this code to compile, I discovered buffer overrun errors and direct access to member of Palm OS internal fields. It really isn't a great example for modern Palm OS programming. There is almost nothing in this tutorial that isn't better expressed in the programming tutorial that comes with CodeWarrior for Palm OS in the "CodeWarrior Manuals\MW Tutorial For Palm OS" folder.
I appreciate the effort, but please don't use this as an example of good code.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
