<div dir="ltr"><font color="#333333"><font face="verdana,sans-serif"><div><font color="#333333"><font face="verdana,sans-serif">I got it to work and a</font></font>ttached is the patch file with the changes I made to get it to work. (Jeff this includes the changes from my other post)</div>
<div><br></div><div>This code changes has to be reviewed and I think you should checkout <span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; "><i>mono_assembly_name_free (name); </i></span><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; ">I don't call that but maybe it should be called somewhere in the code.</span></div>
<div><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; "><br></span></div><div><span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: arial; ">Thanks</span></div></font></font><div>
<font color="#333333"><font face="verdana,sans-serif"> <br clear="all"></font></font>Yitzchok<br>
<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 9:48 PM, 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">It seems like glib itself is easy to get around by removing the glig includes and changing g_free(x) to <span style="font-family:'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif;font-size:13px;line-height:20px">mono_free(x)</span></font></font><div>
<font color="#333333"><font face="'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif"><span style="line-height:20px"><br></span></font></font></div>
<div><font color="#333333"><font face="'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif"><span style="line-height:20px">But I am getting stuck by this one.</span></font></font></div>
<div><font color="#333333"><font face="'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif"><span style="line-height:20px"><br></span></font></font></div>
<div><font color="#333333"><font face="'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif"><span style="line-height:20px"><span style="font-size:13px"><ul style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
<li style="margin-left:1.5em">The MonoAssemblyName struct is no longer fully visible: to access its fields</li></ul><p>you need to use the newly-provided accessors. Note also that it can't be allocated on the stack anymore and you'll need to create and destroy it with the following API:</p>
<pre style="background-color:rgb(248, 248, 248);border-top-width:1px;border-right-width:1px;border-bottom-width:1px;border-left-width:5px;border-top-style:solid;border-right-style:solid;border-bottom-style:solid;border-left-style:solid;border-top-color:rgb(221, 221, 221);border-right-color:rgb(221, 221, 221);border-bottom-color:rgb(221, 221, 221);border-left-color:rgb(221, 221, 221);padding-top:5px;padding-right:5px;padding-bottom:5px;padding-left:5px;margin-top:1em;margin-right:1em;margin-bottom:1em;margin-left:1em;background-repeat:initial initial">
MonoAssemlyName *aname = mono_assembly_name_new ("mscorlib");
mono_assembly_name_free (aname);
</pre><ul style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
</ul></span></span></font></font></div><div><font color="#333333"><font face="'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif"><span style="line-height:20px">(from </span></font></font><a href="http://www.mono-project.com/Embedding_Mono" target="_blank">http://www.mono-project.com/Embedding_Mono</a><span style="font-family:'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif;color:rgb(51, 51, 51);line-height:20px">)</span></div>
<div><font color="#333333"><font face="'DejaVu Sans', 'Bitstream Vera Sans', Verdana, sans-serif"><span style="line-height:20px"><br clear="all"></span></font></font><font color="#888888">Yitzchok</font><div class="im">
<br>
<br><br><div class="gmail_quote">On Wed, Oct 6, 2010 at 9:00 PM, Yitzchok <span dir="ltr"><<a href="mailto:adminjew@gmail.com" target="_blank">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">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" target="_blank">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" target="_blank"></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" target="_blank">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" target="_blank"></a><div><font color="#333333" face="verdana, sans-serif"><br>
</font></div><div>Yitzchok<br></div></div></div></blockquote></div></div></div></div>
</blockquote></div><br></div></div>