Rank: Newbie
  Groups: Registered
 Joined: 12/22/2017(UTC) Posts: 2    
	 
	
     | 
    
        
            
		      
                Tried your little program using mono.  I'm not expecting it to function, but I was surprised when it did.  On Windows it loads okay.  In Unix (FreeBSD) it loads okay only from the command line, plus a few exceptions: Code:
********** 12/17/2017 1:35:14 AM
System.EntryPointNotFoundException: GetSystemMenu
  at (wrapper managed-to-native) UPnPSniffer.MainForm:GetSystemMenu (intptr,bool)
  at UPnPSniffer.MainForm.OnHandleCreated (System.EventArgs e) [0x0000d] in <c6f9742ba58649aba02a4e673fcaf8a3>:0 
  at System.Windows.Forms.Control.WmCreate (System.Windows.Forms.Message& m) [0x00000] in <b4e6df1a5a1f4b78af726adaf5fd3ede>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001d7] in <b4e6df1a5a1f4b78af726adaf5fd3ede>:0 
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000] in <b4e6df1a5a1f4b78af726adaf5fd3ede>:0 
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x0003c] in <b4e6df1a5a1f4b78af726adaf5fd3ede>:0 
  at System.Windows.Forms.Form.WndProc (System.Windows.Forms.Message& m) [0x0015c] in <b4e6df1a5a1f4b78af726adaf5fd3ede>:0 
  at UPnPSniffer.MainForm.WndProc (System.Windows.Forms.Message& m) [0x00000] in <c6f9742ba58649aba02a4e673fcaf8a3>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <b4e6df1a5a1f4b78af726adaf5fd3ede>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <b4e6df1a5a1f4b78af726adaf5fd3ede>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x0008e] in <b4e6df1a5a1f4b78af726adaf5fd3ede>:0 
 
 If I try to launch it using wine + mono bindings, it will load, then crash Code:
********** 12/17/2017 1:34:32 AM
System.Net.Sockets.SocketException: Error looking up error string
  at System.Net.Sockets.Socket.Bind (System.Net.EndPoint local_end) <0xb49c618 + 0x000c3> in <filename unknown>:0 
  at UPnPSniffer.UPnPMulticastSniffer..ctor (System.Net.IPEndPoint local) <0x1d635d0 + 0x002af> in <filename unknown>:0 
  at UPnPSniffer.MainForm.MainForm_Load (System.Object sender, System.EventArgs e) <0x1d62550 + 0x003c7> in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoad (System.EventArgs e) <0x1d5fc48 + 0x00062> in <filename unknown>:0 
  at System.Windows.Forms.Form.OnLoadInternal (System.EventArgs e) <0x1d5de90 + 0x00078> in <filename unknown>:0 
0.01
********** 12/17/2017 1:34:44 AM
System.NullReferenceException: Object reference not set to an instance of an object
  at UPnPSniffer.MainForm.timer1_Tick (System.Object sender, System.EventArgs e) <0xb4b7180 + 0x0006b> in <filename unknown>:0 
  at System.Windows.Forms.Timer.OnTick (System.EventArgs e) <0xb4b7150 + 0x00029> in <filename unknown>:0 
  at System.Windows.Forms.Timer.FireTick () <0xb4b7130 + 0x0001a> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Timer:FireTick ()
  at System.Windows.Forms.XplatUIWin32.GetMessage (System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax, Boolean blocking) <0xb4aa7c8 + 0x00543> in <filename unknown>:0 
  at System.Windows.Forms.XplatUIWin32.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) <0xb4aa780 + 0x00037> in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id, System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32 wFilterMax) <0xb4aa740 + 0x00039> in <filename unknown>:0 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) <0x1d48b90 + 0x00b43> in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) <0x1d48b00 + 0x00043> in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) <0x1d48880 + 0x00033> in <filename unknown>:0 
  at UPnPSniffer.Programa.Main (System.String[] args) <0x1ca10a8 + 0x002d7> in <filename unknown>:0 
0.01
 
 I figured I might as well post this if you are interested in getting it to work on other platforms using mono.  Otherwise, great little application you have here.  
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
            
        
            
            
    
        
	Rank: Newbie
  Groups: Registered
 Joined: 12/22/2017(UTC) Posts: 2    
	 
	
     | 
    
        
            
		      
                Here's a screenshot of it running in mono on Freebsd 11.1   
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
        
            
            
    
        
	Rank: Administration
  Groups: Administrators
 Joined: 9/27/2010(UTC) Posts: 34   Thanks: 3 times Was thanked: 3 time(s) in 3 post(s)
  
	 
	
     | 
    
        
            
		      
                Thank you !! I will make this tests. 
            
	  
         
     | 
    | 
         
             
     | 
    
         
            
         
     | 
    | 
        
	
     | 
        
        
        
    
                           
	
    
        Forum Jump
         
	
    
    You cannot post new topics in this forum.
	
	You cannot reply to topics in this forum.
	
	You cannot delete your posts in this forum.
	
	You cannot edit your posts in this forum.
	
	You cannot create polls in this forum.
	
	You cannot vote in polls in this forum.
	
	
    
    
        Important Information:
        The EA - Allware Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
        
        
More Details
        Close