[Mono-list] Is PInvoke meant to work with mcs-1.2 ?

William S Fulton wsf at fultondesigns.co.uk
Wed Apr 18 12:12:04 EDT 2007


Thanks for info. I don't understand how HandleRef was not supported
before. It has worked fine since we started using it in SWIG around
version 0.9. With Ubuntu Feisty distributing this version of Mono from
tomorrow, it means plenty of broken Mono code and no release since 1.2.3
to fix it. Oh well.

William

Kornél Pál wrote:
> 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:
> http://bugzilla.ximian.com/show_bug.cgi?id=80786
> 
> Kornél
> 
> ----- 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-1.2.3.1 on Ubuntu Dapper Drake and
>> I've also heard the same for Ubuntu Feisty. The code will execute okay
>> when compiling instead with gmcs-1.2.3.1. 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...
>>
>> XAPIAN:
>> http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=132
>>
>> SWIG:
>> https://sourceforge.net/tracker/?func=detail&atid=101645&aid=1702565&group_id=1645
>>
>>
>> William
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list 
> 
> 



More information about the Mono-list mailing list