[Mono-osx] Binding a Delegate Object back in to C#

evanwyk evanwyk at ni.com
Tue Jan 8 17:16:14 UTC 2013


I have an existing Objective-C bundle that I am trying to invoke in mono/C#. 
The portion I am having difficulty with is re-writing and then invoking
replacements for the portions of the Bluetooth C-API that Apple deleted in
10.8.

Specifically, I am currently trying to wrap the
IOBluetoothRFCOMMChannelDelegate.  The hope is that I will create a managed
object that implements that protocol, send it to unmanaged code, and use it
as part of the openRFCOMMChannelAsync constructor so that the managed
functions are called as appropriate.

Unfortunately, it has been hard crashing without much diagnostic
information.

Can you please point me in the direction of the relevant documentation for
monomac with managed delegate invocation?

Thank You!



--
View this message in context: http://mono.1490590.n4.nabble.com/Binding-a-Delegate-Object-back-in-to-C-tp4658047.html
Sent from the Mono - OSX mailing list archive at Nabble.com.


More information about the Mono-osx mailing list