soukoku / ntwain

A TWAIN lib for dotnet.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Access Violation with HP MFP M283fdw

alexdick86 opened this issue · comments

Anwendung: Sample.Winform.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.AccessViolationException
bei System.Runtime.InteropServices.Marshal.ReadInt16(IntPtr, Int32)
bei NTwain.Internals.ImageTools.IsDib(IntPtr)
bei NTwain.DataTransferredEventArgs.GetNativeImageStream()
bei Sample.Winform.TestForm.b__7_2(System.Object, NTwain.DataTransferredEventArgs)
bei NTwain.TwainSession+<>c__DisplayClass87_0`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].b__0(System.Object)

Ausnahmeinformationen: System.Reflection.TargetInvocationException
bei System.RuntimeMethodHandle.InvokeMethod(System.Object, System.Object[], System.Signature, Boolean)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(System.Object, System.Object[], System.Object[])
bei System.Delegate.DynamicInvokeImpl(System.Object[])
bei System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry)
bei System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(System.Object)
bei System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
bei System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
bei System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry)
bei System.Windows.Forms.Control.InvokeMarshaledCallbacks()
bei System.Windows.Forms.Control.WndProc(System.Windows.Forms.Message ByRef)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
bei System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
bei System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
bei System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
bei Sample.Winform.Program.Main()