Re: Error With Gdi32.dll

Stifu <[email protected]>
Newsgroups gmane.comp.gnome.winforms
Message-ID <[email protected]>
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.

_______________________________________________
Mono-winforms-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.