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

Mike Kestner mkestner at gmail.com
Wed Jun 18 11:50:27 EDT 2008


On Wed, 2008-06-18 at 17:05 +0200, Andoni Morales Alastruey wrote:

> I've thinking about this, and I think I don't need to do anything
> special for Windows as I don't use any glue code. Generating the
> bindings is just generating the C# code. I'll try to explain the
> situation a little bit.

Since the issue seems to be callback related, are you doing a cdecl
delegate transformation on your assemblies for win32?  We have a tool we
run during the gtk-sharp win32 build process called gapi-cdecl-insert
which converts all the CDeclCallback attributes in an assembly to the
necessary IL code for proper callback execution on the MS runtime.  It's
possible you just need to run that tool on your binding assembly.

Mike



More information about the Gtk-sharp-list mailing list