[Mono-list] Using Windows DLL in Linux

Stifu stifu at free.fr
Tue Mar 22 08:55:35 EDT 2011


I meant ReceivedBytesThreshold *property*, but whatever. :)


Stifu wrote:
> 
> It might still work, and would only fail when that method is called. But
> if that method is called often, or on start up, then you're probably out
> of luck. On the other hand, being very optimistic, it's possible the
> method is there but never called.
> 
> The only way to find out is to just try it.
> 
> PS: this page confirms the ReceivedBytesThreshold method is not
> implemented:
> http://www.mono-project.com/HowToSystemIOPorts
> 
> 
> Francisco M. Marzoa Alonso wrote:
>> 
>> Hello,
>> 
>> MoMA is that I needed, indeed. Here is the output I get:
>> 
>> OK - All Methods called exist in Mono
>> OK - No P/Invokes are called.
>> FAIL - Methods called that throw NotImplementedException: 1
>> FAIL - Methods called marked with [MonoTodo]: 1
>> 
>> Showing it in detail, it's the same method for both fails:
>> SerialPort.set_ReceivedBytesThreshold (int)
>> 
>> That's for mono 2.8.
>> 
>> So, I think the library "as is" it's not portable. :-|
>> 
>> Regards,
>> 
>> El 19/03/11 07:28, Matthew Winter escribió:
>> > Hi,
>> > 
>> > Potentially yes, but I would first scan the DLL using the MoMA tool
>> (http://www.mono-project.com/MoMA), which will be able to confirm if
>> everything this assembly does is currently supported by Mono.
>> > 
>> > Regards
>> > Matt
>> > 
>> > 
>> _______________________________________________
>> Mono-list maillist  -  Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>> 
> 


--
View this message in context: http://mono.1490590.n4.nabble.com/Using-Windows-DLL-in-Linux-tp3388775p3396295.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list