[Mono-list] System.DllNotFoundException, but dll is there.

Lecio tolecio at msn.com
Tue Oct 20 14:14:21 EDT 2009


Greetings,

When I execute a C# app an error of System.DllNotFoundException is returned,
but the dll file is on the same folder that the .exe 

What are happening ?

[ ]'s
Lecio


debian:/media/disk/Linux/exe/bin# mono UFE30_DemoCS.exe

Unhandled Exception: System.DllNotFoundException: UFScanner.dll
  at (wrapper managed-to-native) Suprema._UFScanner:UFS_Init ()
  at Suprema.UFScannerManager.Init () [0x00000] 
  at Suprema.UFE30_Demo.btnInit_Click (System.Object sender,
System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x00000] 
  at System.Windows.Forms.ButtonBase.OnMouseUp
(System.Windows.Forms.MouseEventArgs mevent) [0x00000] 
  at System.Windows.Forms.Button.OnMouseUp
(System.Windows.Forms.MouseEventArgs mevent) [0x00000] 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message&
m) [0x00000] 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message&
m) [0x00000] 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m)
[0x00000] 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc
(System.Windows.Forms.Message& m) [0x00000] 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr
wParam, IntPtr lParam) [0x00000] 
  at System.Windows.Forms.XplatUIX11.DispatchMessage
(System.Windows.Forms.MSG& msg) [0x00000] 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG&
msg) [0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run
(System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form
mainForm) [0x00000] 
  at Suprema.UFE30_Demo.Main () [0x00000] 



-- 
View this message in context: http://www.nabble.com/System.DllNotFoundException%2C-but-dll-is-there.-tp25952202p25952202.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list