[Mono-list] Is PInvoke meant to work with mcs-1.2 ?
kornelpal at gmail.com
Wed Apr 18 11:36:24 EDT 2007
HandleRef requires runtime support it don't depends on the compiler so make
sure you are using a runtime version that implements HandleRef support (you
may have to use source code from SVN).
Some information on HandleRef support:
----- Original Message -----
From: "William S Fulton" <wsf at fultondesigns.co.uk>
To: "Mono List" <mono-list at lists.ximian.com>
Sent: Wednesday, April 18, 2007 4:58 PM
Subject: [Mono-list] Is PInvoke meant to work with mcs-1.2 ?
> Sounds like a daft question, but the most basic of PInvoke wrappers
> gives an exception when using mcs-22.214.171.124 on Ubuntu Dapper Drake and
> I've also heard the same for Ubuntu Feisty. The code will execute okay
> when compiling instead with gmcs-126.96.36.199. Looks like when a HandleRef is
> used a System.ArgumentNullException is thrown even when the Handle is
> non-null. Is this a known problem?
> Some bug reports with more details, but I can narrow the problem down
> and post soon...
> Mono-list maillist - Mono-list at lists.ximian.com
More information about the Mono-list