Here are some hints:<div><br></div><div><div>[DllImport (&quot;/usr/lib/libSystem.dylib&quot;)]</div></div><div>public static extern IntPtr dlopen (string path, int mode);</div><div><br></div><div><div>IntPtr p = dlopen(&quot;my_objc_library.dylib&quot;, 0);</div>
<div><br></div><div>Also, otool and install_name_tool may prove useful.</div><div>install_name_tool -change @executable_path/../Frameworks/BGHUDAppKit.framework/Versions/A/BGHUDAppKit @loader_path/../Frameworks/BGHUDAppKit.framework/Versions/A/BGHUDAppKit my_objc_library.dylib</div>
<div><br></div><div>And in my case both the BGHUDAppKit framework and my_objc_library.dylib are copied into the MonoMac app bundle.</div><div><br></div><div>Best of luck.</div><div>Duane</div><div><br></div><br><div class="gmail_quote">
On Wed, Aug 17, 2011 at 3:06 AM, roger_xiong <span dir="ltr">&lt;<a href="mailto:anson.tongbu@gmail.com">anson.tongbu@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi,all<br>
<br>
I want using a third-party framework(/Library/frameworks/) in the MonoMac,<br>
I did not find how to approach.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://mono.1490590.n4.nabble.com/How-to-use-third-party-framework-in-monomac-tp3749277p3749277.html" target="_blank">http://mono.1490590.n4.nabble.com/How-to-use-third-party-framework-in-monomac-tp3749277p3749277.html</a><br>

Sent from the Mono - OSX mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Mono-osx mailing list<br>
<a href="mailto:Mono-osx@lists.ximian.com">Mono-osx@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-osx</a><br>
</font></blockquote></div><br></div>