Our WPF application experiences random crashes when run on a machine that is configured with a Perceptive Pixels touch display. These exceptions occur during times when the touch device is not being used.
Here is the info from the crash.
Application: Azulon.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
at MS.Win32.Penimc.UnsafeNativeMethods.GetPenEventMultiple(Int32, IntPtr[], IntPtr, Int32 ByRef, Int32 ByRef, Int32 ByRef,
Int32 ByRef, Int32 ByRef, IntPtr ByRef)
at System.Windows.Input.PenThreadWorker.ThreadProc()
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object,
Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()
Brad Pechacek