On 2/22/01 9:35 AM, "Philip Sheard" <[EMAIL PROTECTED]> wrote:
> Has anyone tried Objective C in CW? I cannot find any documentation about
> it, and I seem to fall at the first hurdle, as I cannot find a header file
> Object.h.
>
I've been playing around with Obj-C for the Palm, but due to the lack of
time have not been able to do as I much as I'd like (so goes the story of
life). If you are interested, I can forward you over a scaled down version
of the Obj-C runtime and a starter project that "should" work for the Palm
OS.
The file you are referring to (Object.h) is typically supplied by the OS (as
is the case for NextStep/Mac OS X or GNUStep). Since the Palm does not
supply such a framework, you are responsible for implementing the basic
Object class and runtime environment. In theory, once the runtime and Object
class have been ported to the Palm OS, the other Obj-C objects (such as
those contained in GNUStep or libobjc) should work.
There are also some settings in CW preferences that need to be made to
enable Obj-C. You can find "Enable Objective C" under the Languages:C/C++
Pannel for a project's preferences.
Good luck,
-Mark
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/