[Mono-list] Help in dealing with Mono/.NET PInvoke issue

Chris Howie cdhowie at gmail.com
Sun Jan 3 21:26:23 EST 2010

> I just wrote a blog post about the problem I currently have
> (see http://diniscruz.blogspot.com/2010/01/o2-on-mono-monodevelop-and-osx.html),
> which seems to be a variation of one you have seen several times in the
> past: "Unhandled Exception: System.DllNotFoundException: user32.dll"

This means that your platform is invoking one of Windows' native
libraries.  You need to figure out how to perform the equivalent call
on Linux or OS X.  Note that there may be a framework method for what
you are trying to do, and you should use it if that is the case.

Without knowing which P/Invoke call you are making it's not possible
to tell if this is fixable.

Chris Howie

More information about the Mono-list mailing list