Re: How to call on id

2010-02-24 Thread David Blanton
Yeah! 2) looks like the answer ... I am trying now ... Thanks! -db On Feb 24, 2010, at 8:52 PM, Andrew Farmer wrote: On 24 Feb 2010, at 19:43, David Blanton wrote: I misspoke earlier. What I want to do is access an an ivar in m_view such as m_cpp wher m_cpp is an instance of a C++ class

Re: How to call on id

2010-02-24 Thread Graham Cox
On 25/02/2010, at 2:43 PM, David Blanton wrote: > I misspoke earlier. > > What I want to do is access an an ivar in m_view such as m_cpp wher m_cpp is > an instance of a C++ class and then call functions on m_cpp such as > > m_view->m_cpp.Function() > > but I get 'struct objc_object' has no m

Re: How to call on id

2010-02-24 Thread Andrew Farmer
On 24 Feb 2010, at 19:43, David Blanton wrote: > I misspoke earlier. > > What I want to do is access an an ivar in m_view such as m_cpp wher m_cpp is > an instance of a C++ class and then call functions on m_cpp such as > > m_view->m_cpp.Function() > > but I get 'struct objc_object' has no memb

Re: How to call on id

2010-02-24 Thread David Blanton
I misspoke earlier. What I want to do is access an an ivar in m_view such as m_cpp wher m_cpp is an instance of a C++ class and then call functions on m_cpp such as m_view->m_cpp.Function() but I get 'struct objc_object' has no member named 'm_cppr' My apologies for not being precise earl

Re: How to call on id

2010-02-24 Thread Graham Cox
On 25/02/2010, at 2:31 PM, David Blanton wrote: > I have an ivar tyoed as id as > > idm_view > > at some point m_view gets set to a particular view > > I would like to send messages to m_view as [m_view selector] but since it is > not typed I get the message > > 'struct objc_object' has

How to call on id

2010-02-24 Thread David Blanton
I have an ivar tyoed as id as id m_view at some point m_view gets set to a particular view I would like to send messages to m_view as [m_view selector] but since it is not typed I get the message 'struct objc_object' has no member named 'selector' How does one work with / around this