On Jul 3, 4:52=A0am, Gregory Weston <u...@[EMAIL PROTECTED]
> wrote:
> In article
> <5f6e6f0b-0319-4525-8020-86aff5b1d...@[EMAIL PROTECTED]
>,
>
> =A0Jason8 <jason.le...@[EMAIL PROTECTED]
> wrote:
> > hi:
>
> > [sorry for the cross post - saw this group too late]
>
> > I'm trying to bridge between my Cocoa App and my C++ framework via
> > Objective-C++. Apparently I can't have C++ objects as instance
> > variables in my ObjC class because they contain virtual methods.
>
> True, but you can have pointers to instances of that class.
Do you know how I can create one? Pointers need types, and since I
can't include my headers and I don't seem to be able give them a type;
nor can I use 'id'.
> > Also, I don't appear to be able to include my C++ header files in
> > by ObjC header file; they work fine if I include them in my
> > implementation file (.mm).
>
> Because, I would guess, the header file in which you tried to include it
> is also im****ted by a non-ObjC++ implementation file.
>
> G
>
> --
> "Harry?" Ron's voice was a mere whisper. "Do you smell something ...
burn=
ing?"
> =A0 =A0- Harry Potter and the Odor of the Phoenix


|