************** 异常文本 **************
System.TypeInitializationException: “MS.Win32.Penimc.UnsafeNativeMethods”的类型初始值设定项引发异常。 ---> System.Runtime.InteropServices.COMException: 没有注册类 (异常来自 HRESULT:0x80040154 (REGDB_E_CLASSNOTREG))
在 MS.Win32.Penimc.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
在 MS.Win32.Penimc.UnsafeNativeMethods.CreatePimcManager()
在 MS.Win32.Penimc.UnsafeNativeMethods..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 MS.Win32.Penimc.UnsafeNativeMethods.CreateResetEvent(IntPtr& handle)
在 System.Windows.Input.PenThreadWorker..ctor()
在 System.Windows.Input.PenThreadPool.GetPenThreadForPenContextHelper(PenContext penContext)
在 System.Windows.Input.PenThreadPool.GetPenThreadForPenContext(PenContext penContext)
在 System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTabletsImpl()
在 System.Windows.Input.StylusWisp.WispTabletDeviceCollection.UpdateTablets()
在 System.Windows.Input.StylusWisp.WispTabletDeviceCollection..ctor()
在 System.Windows.Input.StylusWisp.WispLogic.get_WispTabletDevices()
在 System.Windows.Input.StylusWisp.WispLogic.RegisterHwndForInput(InputManager inputManager, PresentationSource inputSource)
在 System.Windows.Interop.HwndStylusInputProvider..ctor(HwndSource source)
在 System.Windows.Interop.HwndSource.Initialize(HwndSourceParameters parameters)
在 System.Windows.Forms.Integration.ElementHost.<OnHandleCreated>b__54_0()
在 System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout)
在 System.Windows.Threading.Dispatcher.Invoke(Action callback)
在 System.Windows.Forms.Integration.ElementHost.OnHandleCreated(EventArgs e)
在 System.Windows.Forms.Control.WmCreate(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.Integration.ElementHost.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
HkeyTray
程序集版本:3.0.0.23
Win32 版本:3.0.0.23
基本代码:file:///C:/Program%20Files%20(x86)/Hotkey/HkeyTray.exe
----------------------------------------
System.Windows.Forms
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Management
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
WpfOsd
程序集版本:1.0.0.0
Win32 版本:1.0.0.0
基本代码:file:///C:/Program%20Files%20(x86)/Hotkey/WpfOsd.DLL
----------------------------------------
PresentationFramework
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Core
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
PresentationCore
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
WindowsFormsIntegration
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
----------------------------------------
System.Configuration
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
PresentationFramework.Aero
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
----------------------------------------
mscorlib.resources
程序集版本:4.0.0.0
Win32 版本:4.6.1590.0 built by: NETFXREL2
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
NAudio
程序集版本:1.7.0.0
Win32 版本:1.7.0.0
基本代码:file:///C:/Program%20Files%20(x86)/Hotkey/NAudio.DLL
----------------------------------------
System.ServiceProcess
程序集版本:4.0.0.0
Win32 版本:4.7.2053.0 built by: NET47REL1
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceProcess/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.ServiceProcess.dll
----------------------------------------
System.Windows.Forms.resources
程序集版本:4.0.0.0
Win32 版本:4.6.1590.0 built by: NETFXREL2
基本代码:file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。