OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。 StackTrace: 在 System.Runtime.InteropServices.COMException..ctor() 在 MS.Win32.Penimc.IPimcTablet2.CreateContext(IntPtr handle, Boolean fEnable, UInt32 timeout, IPimcContext2& IPimcContext, Int32& key, Int64& commHandle) 在 System.Windows.Input.PenThreadWorker.WorkerOperationCreateContext.OnDoWork() 在 System.Windows.Input.PenThreadWorker.WorkerOperation.DoWork() 在 System.Windows.Input.PenThreadWorker.ThreadProc() 在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) 在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) 在 System.Threading.ThreadHelper.ThreadStart()