[Gtk-sharp-list] Compiling dynamic dll on windows

Mike Kestner mkestner at gmail.com
Wed Jun 18 16:54:15 EDT 2008


On Wed, 2008-06-18 at 21:38 +0200, Andoni Morales Alastruey wrote:
> wow!!! You got it!!!!
> 
> Just have a look to this, it's even simpler
> http://themonkeysgrinder.blogspot.com/2007/07/using-glib-callbacks-with-managed.html
> 
> You just have to replace the [GLib.CDeclCallback] attribute with this
> one [UnmanagedFunctionPointer(CallingConvention.Cdecl)]  for the
> delegate definitions. No need to use the gapi-cdecl-insert

Unfortunately, that one is not available on .Net 1.x, so we can't use
it.  That's why we came up with the gapi-cdecl-insert hack.

> Thank you so much!!! I think this info should placed somewhere on the
> gtk# proyect and the mono proyect.

Good idea.  I just added a note about it on:

http://mono-project.com/GAPI#Win32_binding_issues

Mike



More information about the Gtk-sharp-list mailing list