[Mono-winforms-list] OpenLink winelib + Mono.
Miguel de Icaza
miguel@ximian.com
21 May 2003 14:11:35 -0400
Hello,
> I fixed some of the issues. The problem with
> CreateWindow can be that Mono does not support this
> way of marshalling
> [ MarshalAs( UnmanagedType.AsAny )] object lpParam.
> I temporarily changed parameter type to IntPtr.
>
> Will WinForms behave better after this fix or still
> the same ?
Now I get a reproducible crash :-)
MonoWin32: Initializing WineLib
Could not stat /nt (No such file or directory), ignoring drive E:
Warning: Language 'en_US' was not found, retrying without country name...
Warning: Language 'en' was not recognized, defaulting to English
no window, defwndproc
no window, defwndproc
no window, defwndproc
WM_CREATE (static)
no window, defwndproc
Unhandled Exception: System.NullReferenceException: A null value was found where an object instance was required
If I trace it though, I get:
LEAVE: 06 System.Windows.Forms.Win32:CreateWindowEx (uint,string,string,uint,int,int,int,int,intptr,intptr,intptr,intptr)EAX=134834224
** (WA.exe:32398): WARNING **: unknown MONO_PATCH_INFO_INTERNAL_METHOD
** ERROR **: file mini-x86.c: line 2890 (mono_arch_patch_code): should not be reached
aborting...
Aborted
Miguel