Excel 2007 Crash的原因居然是蓝牙COM模块
September 2nd, 2007
3 comments
我的本本装上Office 2007以后,其他组件都没什么问题,只有excel,频繁Crash。重做的新系统,也是无济于事。
今天偶然查看我的事件日志,里面写着:
Faulting application EXCEL.EXE, version 12.0.6024.5000, time stamp 0x465f21c3, faulting module OLEAUT32.dll, version 6.0.6000.16386, time stamp 0x4549bd95, exception code 0xc0000005, fault offset 0x000041c0, process id 0x16b4, application start time 0x01c7ed0d42ddfa30.
居然是因为OLEAUT32.dll引起的。去网上搜索了一下,从Win98时代开始,这个破文件就开始导致了Crash。接下来就是研究解决方案了。很幸运,很快找到了“The library file ole2.dll, is required by windows and is used when performing OLE (Object Linking and Embedding) operations.”。并且有案例是蓝牙模块造成的。
解决方法很简单:因为蓝牙COM是unmanaged COM组件,所以要修改注册表,找到:
HKLM\SOFTWARE\Microsoft\Office\Excel\Addins\BtOfficeAddin.BtOfficeIntegration.1
把LoadBehavior从3设置为0(具体为:0-不加载、3-加载、9-按需加载、16-只在下次启动时加载)。




Recent Comments