Win7下开发的程序总报KERNELBASE.dll错误

本文探讨了在Windows 7环境下运行项目时遇到KERNELBASE.dll错误的原因,并提供了解决方案。重点在于理解错误背后的机制以及如何在不更换操作系统的前提下解决问题。
我们做的项目中为什么在win7下运行时常常随机的报KERNELBASE.dll错误,这么多年开发程序,用的是Winxp系统,也没见过这么多此错误,而且在代码中根本无法捕捉,都是由操作系统来捕获,程序也因此而崩溃,我们也崩溃了。想换成Winxp系统,但项目中用了Kinect体感设备,这个设备在Winxp中系统中不支持,真的没办法了,无语问微软!到底是怎么回事呀,难道真的要逼走我们这些程序员吗?
异常信息: System.TypeInitializationException 在 System.Windows.Automation.Peers.AutomationPeer.RaiseFocusChangedEventHelper(System.Windows.IInputElement) 在 System.Windows.Input.KeyboardDevice.ChangeFocus(System.Windows.DependencyObject, Int32) 在 System.Windows.Input.KeyboardDevice.TryChangeFocus(System.Windows.DependencyObject, System.Windows.Input.IKeyboardInputProvider, Boolean, Boolean, Boolean) 在 System.Windows.Input.KeyboardDevice.Focus(System.Windows.DependencyObject, Boolean, Boolean, Boolean) 在 System.Windows.Input.KeyboardDevice.Focus(System.Windows.IInputElement) 在 System.Windows.Interop.HwndKeyboardInputProvider.OnSetFocus(IntPtr) 在 System.Windows.Interop.HwndKeyboardInputProvider.FilterMessage(IntPtr, MS.Internal.Interop.WindowMessage, IntPtr, IntPtr, Boolean ByRef) 在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 在 MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) 在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) 在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) 在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) 在 System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) 在 MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) 错误应用程序名称: vs_setup_bootstrapper.exe,版本: 3.11.2180.21897,时间戳: 0xf9d4aa12 错误模块名称: KERNELBASE.dll,版本: 10.0.19041.572,时间戳: 0x979ddb1d 异常代码: 0xe0434352 错误偏移量: 0x00129ab2 错误进程 ID: 0xcec 错误应用程序启动时间: 0x01dc4efc4aeee56a 错误应用程序路径: C:\Users\administrator.LAI-EN\AppData\Local\Temp\885776427ff424d192\vs_bootstrapper_d15\vs_setup_bootstrapper.exe 错误模块路径: C:\Windows\System32\KERNELBASE.dll 告 ID: 3215d7bb-c191-46f2-aa97-5f7ad47ac4aa 错误程序包全名: 错误程序包相对应用程序 ID: 错误应用程序名称: vs_setup_bootstrapper.exe,版本: 3.11.2180.21897,时间戳: 0xf9d4aa12 错误模块名称: KERNELBASE.dll,版本: 10.0.19041.572,时间戳: 0x979ddb1d 异常代码: 0xc000041d 错误偏移量: 0x00129ab2 错误进程 ID: 0xcec 错误应用程序启动时间: 0x01dc4efc4aeee56a 错误应用程序路径: C:\Users\administrator.LAI-EN\AppData\Local\Temp\885776427ff424d192\vs_bootstrapper_d15\vs_setup_bootstrapper.exe 错误模块路径: C:\Windows\System32\KERNELBASE.dll 告 ID: a4543f6e-2b00-4796-8d91-ded93538c811 错误程序包全名: 错误程序包相对应用程序 ID:
最新发布
11-07
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值