[Mono-winforms-list] Let me get this right...

Paolo Molaro lupus@ximian.com
Mon, 27 Jan 2003 18:44:40 +0100


On 01/27/03 Simon Ask Ulsnes wrote:
> Wouldn't it be possible to write a SWF library built on Gtk# that linked to
> certain parts of WineLib, just as it is done in a real Windows environment?
> [DllImport("kernel32.dll")] public static and so on would just load Wine's
> version of kernel32.dll in stead of the original Windows DLL, thus providing
> just about the same functionality. Or have I misunderstood something?

That makes sense only if _all_ the windowing stuff is done with Gtk#
(and we know this is not possible because of wndproc) and wine is only
used to provide the implementation for some user32 dll functions.
Basically, if some features are unrelated it's possible, but this is not
the case inside Windows.Froms as I understand it.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better