<div dir="ltr"><font color="#333333"><font face="verdana,sans-serif">Mono 2.8 was released today with support for C# 4 and more </font></font><a href="http://www.mono-project.com/Release_Notes_Mono_2.8">http://www.mono-project.com/Release_Notes_Mono_2.8</a><div>
<br></div><div><a href="http://www.mono-project.com/Release_Notes_Mono_2.8"></a>It seems like there was some changes in the way applications embed mono (which includes removing the reference to glib and replacing it with eglib from what I understand) in this link you can find information for the changes made with embedding mono <a href="http://www.mono-project.com/Embedding_Mono">http://www.mono-project.com/Embedding_Mono</a></div>
<div><br></div><div>I am trying to see if I can make it work but since I am just a C# windows developer (not a c or c++ dev) what I am doing is just hacking around and don't know if I will even get it to work but I think a c++ linux developer might get it to work with only a little work (the info needed I think is in the link above).</div>
<div><br></div><div>So I am wondering if anyone is interested to get it to work.</div><div><br></div><div><a href="http://www.mono-project.com/Embedding_Mono"></a><div><font class="Apple-style-span" color="#333333" face="verdana, sans-serif"><br>
</font></div><div>Yitzchok<br>
<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 11:40 AM, Yitzchok <span dir="ltr"><<a href="mailto:adminjew@gmail.com">adminjew@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div dir="ltr"><font color="#333333"><font face="verdana,sans-serif">I tried that and it seems to work.</font></font><div><font color="#333333" face="verdana, sans-serif"><br></font></div><div><font color="#333333"><font face="verdana,sans-serif"><br>
</font></font></div><div><font color="#333333"><font face="verdana,sans-serif">---diff from git head---</font></font></div><div><font color="#333333"><font face="verdana,sans-serif"><div><br></div><div><br></div><div>@@ -385,9 +385,7 @@ SWITCH_STANDARD_API(managedrun_api_function)</div>
<div class="im">
<div> <span style="white-space:pre-wrap">        </span>} else {<span style="white-space:pre-wrap">        </span></div><div> <span style="white-space:pre-wrap">                </span>stream->write_function(stream, "-ERR ExecuteBackground returned false (unknown module or exception?).\n");</div>
<div> <span style="white-space:pre-wrap">        </span>}</div><div>-#ifndef _MANAGED</div><div>-<span style="white-space:pre-wrap">        </span>mono_thread_detach(mono_thread_current());</div><div>
-#endif</div><div>+</div><div> <span style="white-space:pre-wrap">        </span>return SWITCH_STATUS_SUCCESS;</div><div> }</div><div> </div></div><div>@@ -403,9 +401,7 @@ SWITCH_STANDARD_API(managed_api_function)</div><div class="im">
<div> <span style="white-space:pre-wrap">        </span>if (!(executeDelegate(cmd, stream, stream->param_event))) {</div><div> <span style="white-space:pre-wrap">                </span>switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Execute failed for %s (unknown module or exception).\n", cmd); </div>
<div> <span style="white-space:pre-wrap">        </span>}</div><div>-#ifndef _MANAGED</div><div>-<span style="white-space:pre-wrap">        </span>mono_thread_detach(mono_thread_current());</div><div>
-#endif</div><div>+</div><div> <span style="white-space:pre-wrap">        </span>return SWITCH_STATUS_SUCCESS;</div><div> }</div><div> </div></div><div>@@ -421,9 +417,7 @@ SWITCH_STANDARD_APP(managed_app_function)</div><div class="im">
<div> <span style="white-space:pre-wrap">        </span>if (!(runDelegate(data, session))) {</div><div> <span style="white-space:pre-wrap">                </span>switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Application run failed for %s (unknown module or exception).\n", data);</div>
<div> <span style="white-space:pre-wrap">        </span>}</div><div>-#ifndef _MANAGED</div><div>-<span style="white-space:pre-wrap">        </span>mono_thread_detach(mono_thread_current());</div><div>
-#endif</div><div>+</div><div> }</div><div> </div><div> SWITCH_STANDARD_API(managedreload_api_function) </div></div><div>@@ -438,9 +432,7 @@ SWITCH_STANDARD_API(managedreload_api_function)</div><div class="im"><div> <span style="white-space:pre-wrap">        </span>if (!(reloadDelegate(cmd))) {</div>
<div> <span style="white-space:pre-wrap">                </span>switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Execute failed for %s (unknown module or exception).\n", cmd); </div><div> <span style="white-space:pre-wrap">        </span>}</div>
<div>-#ifndef _MANAGED</div><div>-<span style="white-space:pre-wrap">        </span>mono_thread_detach(mono_thread_current());</div><div>-#endif</div><div>+</div><div> <span style="white-space:pre-wrap">        </span>return SWITCH_STATUS_SUCCESS;</div>
<div> }</div><div><br></div><div><br></div><div><br></div><div>-----</div></div></font></font></div><div><font color="#888888"><font color="#333333"><font face="verdana,sans-serif"><br clear="all"></font></font>Yitzchok</font><div>
<div></div><div class="h5"><br>
<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 10:57 AM, Jeff Lenk <span dir="ltr"><<a href="mailto:jeff@jefflenk.com" target="_blank">jeff@jefflenk.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Not sure how this makes sense yet. Yitzchok would you try this with only the<br>
mono_thread_detach calls removed leaving the mono_thread_attach in place and<br>
see what happens.<br>
<br>
Thanks<br>
Jeff<br>
<font color="#888888">--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/mod-managed-on-linux-centos-tp5485480p5607396.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/mod-managed-on-linux-centos-tp5485480p5607396.html</a><br>
</font><div><div></div><div>Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div></div></div>