[Mono-winforms-list] Error With Gdi32.dll

Stifu stifu at free.fr
Mon Nov 30 05:34:51 EST 2009

It seems like this project is directly invoking a Windows DLL (P/Invoke), so
it won't work with Mono.
To work around problems like this, some people use Mono under Wine, but I've
never tried it, and it doesn't sound ideal. The best solution would be to
modify the project to replace the P/Invoke with a managed equivalent.

darkprince87 wrote:
> Hi, I'm trying to compile/execute a project made with VS in windows. I get
> an error with the dll library gdi32. anyone can suggest me how to solve
> this? thanks a lot
> [Unhandled Exception: System.DllNotFoundException: Gdi32.dll
>   at (wrapper managed-to-native)
> fDiscovery.DiscoveryForm:CreateRoundRectRgn (int,int,int,int,int,int)
>   at fDiscovery.DiscoveryForm.MakeFormRound (Int32 radius) [0x00000] 
>   at fDiscovery.DiscoveryForm.OnResize (System.EventArgs e) [0x00000] 
>   at fDiscovery.DiscoveryForm..ctor () [0x00000] 
>   at fDiscovery.Main..ctor () [0x00000] 
>   at (wrapper remoting-invoke-with-check) fDiscovery.Main:.ctor ()
>   at fDiscovery.Program.Main () [0x00000] 
> ]

View this message in context: http://old.nabble.com/Error-With-Gdi32.dll-tp26571869p26572460.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.

More information about the Mono-winforms-list mailing list