[Mono-winforms-list] newbie - MoMA

Stifu stifu at free.fr
Tue Jan 5 02:34:51 EST 2010




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.
-- 
View this message in context: http://old.nabble.com/newbie---MoMA-tp27023946p27024698.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.



More information about the Mono-winforms-list mailing list