logo
Bienvenido visitante. Para activar todas las funcionalidades, por favor Iniciar sesión o Registrarse.

Aviso

Icon
Error

Opciones
Ver
Ir a la última publicación Ir al primero no leído
Offline tuaris  
#1 Publicado : viernes, 22 de diciembre de 2017 04:30:47 p. m.(UTC)
tuaris

Posición: Newbie

Grupos: Registered
Registrado: 22/12/2017(UTC)
Mensajes: 2
Hombre
Colombia

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:

Código:

********** 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

Código:


********** 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.
Offline tuaris  
#2 Publicado : viernes, 22 de diciembre de 2017 04:35:36 p. m.(UTC)
tuaris

Posición: Newbie

Grupos: Registered
Registrado: 22/12/2017(UTC)
Mensajes: 2
Hombre
Colombia

Here's a screenshot of it running in mono on Freebsd 11.1

FreeBSD
Offline Enrique  
#3 Publicado : viernes, 22 de diciembre de 2017 07:39:49 p. m.(UTC)
Enrique

Posición: Administration

Grupos: Administrators
Registrado: 27/09/2010(UTC)
Mensajes: 25
Hombre
México

Fue agradecido: 1 vez/veces in 1 publicación(es).
Thank you !!
I will make this tests.
Usuarios navegando este tema
Salto de foro  
No puedes iniciar nuevos temas en este foro.
No puedes responder a temas en este foro.
No puedes eliminar sus temas en este foro.
No puedes editar sus temas en este foro.
No puedes crear encuestas en este foro.
No puedes votar las encuestas en este foro.