It seems like glib itself is easy to get around by removing the glig includes and changing g_free(x) to mono_free(x)

But I am getting stuck by this one.

  • The MonoAssemblyName struct is no longer fully visible: to access its fields

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:


MonoAssemlyName *aname = mono_assembly_name_new ("mscorlib");
mono_assembly_name_free (aname);
(from http://www.mono-project.com/Embedding_Mono)

Yitzchok


On Wed, Oct 6, 2010 at 9:00 PM, Yitzchok <adminjew@gmail.com> wrote:
Mono 2.8 was released today with support for C# 4 and more http://www.mono-project.com/Release_Notes_Mono_2.8

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 http://www.mono-project.com/Embedding_Mono

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).

So I am wondering if anyone is interested to get it to work.


Yitzchok