At 11:48 AM 8/3/2004, you wrote:
I have written a paint program with Codewarrior 7, and I am attempting to port it to PODS to develop it further. I made a new project in PODS and moved all my source to the src folder. I converted my rsrc file to xrd with generatexrd. Now when I try to build my project I get a slew of errors. Most of the errors have something to do with WinPtr:

Error            error #20: identifier "WinPtr" is undefined
DeleteFormHandler.h    SproutPaint/src    line 14

I am including PalmOS.h in all my source files. Why doesn't the compiler like WinPtr?

WinPtr is a old type name. You should use "WinHandle" instead. However, the type is still defined in Window.h, which is included from PalmOS.h. Is it possible that you've got your own Window.h header file in your project that might be obscuring the one from the SDK?



-- Ben Combee, DTS technical lead, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Palm OS Dev Fourm Archives: http://news.palmos.com/read/all_forums/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to