newbiemono wrote:
> 
> 
> 
> Stifu wrote:
>> 
>> 
>> 
>> newbiemono wrote:
>>> 
>>> Hello All,
>>> 
>>> I am very new to mono, I have downloaded trial version of mono tools for
>>> VS, when I run from Tools -> MoMA .. I got the following warnings:
>>> 
>>> Warning     2       The method void 
>>> SerialPort.set_ReceivedBytesThreshold(int)
>>> could potentially throw a NotImplementedException in Mono.  
>>> C:\Project\Matrix .NET\Billing\NetComm\FrmTest.cs   138     18      NetComm
>>> 
>>> Warning     4       P/Invoke: Native library 'kernel32' called.  Ensure this
>>> library is cross platform.  
>>> C:\Project\Matrix .NET\Billing\NetComm\ClsIni.cs    36      8       NetComm
>>> 
>>> Warning     5       P/Invoke: Native library 'user32.dll' called.  Ensure 
>>> this
>>> library is cross platform.  C:\Project\Matrix
>>> .NET\Billing\NetComm\SystemMenuManager.cs   135     18      NetComm
>>> 
>>> 
>>> What should I do? for being my app ported to Linux?
>>> 
>>> 
>> 
>> Hey,
>> 
>> Warning 2: just try your app with Mono to see whether it throws a
>> NotImplementedException, since the message implies it might not. You can
>> do so from Windows.
>> 
>> Warning 4 and 5: You need to replace your calls to kernel32 and user32
>> DLLs to managed equivalents (ideally), that is to say using classes
>> available in the .NET framework, or using external libraries that are
>> fully managed.
>> 
> 
> Noted with thanks, Warning 4 & 5, do you have any idea for this? .. I dont
> know what's replacement for those .DLLs on Linux.. 
> 
> 
> 
> 

It depends on what you use from these DLLs. I expect them to have many
methods, so it'd help to know which methods you're using.
-- 
View this message in context: 
http://old.nabble.com/newbie---MoMA-tp27023946p27026590.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

Reply via email to