[Mono-list] Stoked about what you guys are doing.
Paolo Molaro
lupus@ximian.com
Thu, 4 Jul 2002 12:02:29 +0200
On 07/04/02 Saajan Chana wrote:
> 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!
The mono runtime has support for remapping dll names (and also single
methods), so the plan is to use the windows dll name in the C# files
and remap them in the config files for use on other systems.
lupus
--
-----------------------------------------------------------------
lupus@debian.org debian/rules
lupus@ximian.com Monkeys do it better