Re: IBoutlets out of scope in c functions?
Re: IBoutlets out of scope in c functions?
- Subject: Re: IBoutlets out of scope in c functions?
- From: Camillo Lugaresi <email@hidden>
- Date: Fri, 10 Mar 2006 15:48:27 +0100
On 10/mar/06, at 14:03, Mike Lehmann wrote:
hi all,
I'm way noob at cocoa but have relatively thick skin, so feel free to
comment on anything you think I'm doing wrong aside from the question
at hand :)
I'm learning/using cocoa as a gui front end for a substantial c++
peer-to-peer SIP project. The c++ engine needs to be able to send
events to the gui asynchonously, but obviously (to me, anyway) can't
send objective-c messages without being compiled as objective-c++. So
I thought the way to handle this was to write c functions within the
objective-c code, and pass pointers to those functions to an event
handler class within the c++ code. The c++ code fires, my code gets
executed, and everyone wins, in principle...
Can't you implement the event handler class in an Objective-C++
module and call ObjC methods directly?
Camillo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden