From Newsgroup: comp.sys.mac.system
Mat Cvetic <
invalid@invalid.net> writes:
I think you're looking for the objc_msgSend() function. I haven't used
it so I don't know all the ins and outs.
Note, however, that this is not portable. From the top of the
documentation page where it is described:
The Mac OS X implementation of the Objective-C runtime library
is unique to the Mac OS X platform. For other platforms, the GNU
Compiler Collection provides a different implementation with a
similar API. This document covers only the Mac OS X
implementation.
So, if you think you may need to bridge Objective C with C++ on some
other platform (remember that gcc supports Objective C on many
platforms), you should use the mechanism I described - writing your own Objective C function with a C interface and use that as the bridge.
-- David
--- Synchronet 3.18b-Win32 NewsLink 1.113