Problema com mono quando executar um aplicativo do windows

0
mono myfile.exe
System.DllNotFoundException: wininet.dll
  at (wrapper managed-to-native) Multiple_Website_Viewer.Form1:InternetSetOption (intptr,int,intptr,int)
  at Multiple_Website_Viewer.Form1.UseProxy (System.String strProxy) [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Multiple_Website_Viewer.Form1:UseProxy (string)
  at Multiple_Website_Viewer.Form1.Button2_Click (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000] in <filename unknown>:0 

O que devo fazer? Obrigado.

    
por Gicminos 15.06.2015 / 13:49

1 resposta

0

O erro em si é bastante auto-explicativo: System.DllNotFoundException: wininet.dll - você está perdendo wininet.dll , um item proprietário do Windows. Então temos que instalá-lo.

Você poderia tentar fazer isso: winetricks wininet - ele tentará e instalará a DLL. No entanto, isso é relatado para trabalhar e não funcionar dependendo da sua versão do Wine.

    
por Thomas Ward 15.06.2015 / 14:06