[Mono-list] Stoked about what you guys are doing.

Miguel de Icaza miguel@ximian.com
04 Jul 2002 16:08:06 -0400


> This has implications for using Gtk# over Windows.  AFAIK, the Gtk
> libraries have different names under Linux and Windows (gtk-x11.so as
> opposed to gtk-win32.dll or something like that).  I know it is possible
> to use P/Invoke for openening libraries of the /same/ basic name on
> different OSs (such as library.dll which would be called under Windows,
> and library.so under Linux), but is it possible to do something like the
> above (call gtk-x11.so under Linux and gtk-win32.dll under Windows)?  I
> like Gtk# better than WinForms and I would love to use it in apps that
> can run under Windows!

This is not a problem, look at the mono-config(5) man page for details
on how mono can cope with this issue.

Miguel