[Freeswitch-users] Mono 2.8 released and need to update mod_managed

Michael Giagnocavo mgg at giagnocavo.net
Tue Oct 12 03:31:20 PDT 2010


Thanks for helping out. I just saw the Mono 2.8 announcement and it looks exciting.

-Michael

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Yitzchok
Sent: Wednesday, October 06, 2010 9:21 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Mono 2.8 released and need to update mod_managed

I got it to work and attached is the patch file with the changes I made to get it to work. (Jeff this includes the changes from my other post)

This code changes has to be reviewed and I think you should checkout mono_assembly_name_free (name); I don't call that but maybe it should be called somewhere in the code.

Thanks

Yitzchok

On Wed, Oct 6, 2010 at 9:48 PM, Yitzchok <adminjew at gmail.com<mailto:adminjew at gmail.com>> wrote:
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 at gmail.com<mailto:adminjew at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101012/c94b9bec/attachment-0001.html 


More information about the FreeSWITCH-users mailing list