[Mono-osx] external reference to a class
duane at wandless.net
Thu Oct 22 15:42:34 EDT 2009
Hopefully someone can help with this.
I am currently doing this.
id myobj = objc_getClass("MyMonoClass");
which works. MyMonoClass is not defined so I cannot do this:
Because the compiler tries to resolve the class reference, of course.
Is there a better way to do this than what I have? Which I got the idea of
how to do this from Monobjc!
The context is that I have a Cocoa application that loads the mono runtime
which loads my Monobjc enabled library. Which that is where MyMonoClass is
defined. Then I need to invoke a method on the mono class from Cocoa.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-osx