soukoku / ntwain

A TWAIN lib for dotnet.
MIT License
117 stars 47 forks source link

Access Violation with HP MFP M283fdw #47

Open alexdick86 opened 1 year ago

alexdick86 commented 1 year ago

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.b7_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()