I'm sure I'm missing something simple; but I'm a Windows .Net person not a
MAC person.
In the .h file of my simple cocoa dynamic library I declare a method
"qlrtsend"
[i]#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
@interface libQLRT : NSObject
{
}
- (NSString*) qlrtsend: (NSString*) request;
@end[/i]
Then in my MonoMac application I reference it
[DllImport("/Applications/MyApp/libQLRT.dylib")]
static extern NSString qlrtsend(NSString request);
.
.
.
NSString response = qlrtsend(new NSString("test"));
It finds the lib, but I get an EntryPointNotFound error.
What magic must I do to declare a method in a Cocoa library so I can
reference it in MonoMac?
Is this documented anywhere?
--
View this message in context:
http://mono.1490590.n4.nabble.com/Cocoa-dylib-entry-point-not-found-tp4649905.html
Sent from the Mono - OSX mailing list archive at Nabble.com.
_______________________________________________
Mono-osx mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-osx