![是什么控制着 SearchUI.exe(Cortana)在运行时加载的 dll?](https://linux22.com/image/1614989/%E6%98%AF%E4%BB%80%E4%B9%88%E6%8E%A7%E5%88%B6%E7%9D%80%20SearchUI.exe%EF%BC%88Cortana%EF%BC%89%E5%9C%A8%E8%BF%90%E8%A1%8C%E6%97%B6%E5%8A%A0%E8%BD%BD%E7%9A%84%20dll%EF%BC%9F.png)
我正在解决 SearchUI(Cortana)遇到的问题。
(看启动 UFT(统一功能测试)应用程序后,Cortana 开始变得缓慢且滞后)
我已将范围缩小到此 dll,即 EventHooks.dll,SearchUI 在开始运行时尝试加载但失败了。如果我重命名该 dll,SearchUI 便会再次正常工作。
不过,我想有某种方法可以告诉 SearchUI 根本不要尝试加载这个 dll,我们在哪里可以控制这个设置?
以下是调试器输出的摘录
'SearchUI.exe' (Win32): Unloaded 'C:\Program Files (x86)\HPE\Unified Functional Testing\bin64\EventsHook.dll'
'SearchUI.exe' (Win32): Loaded 'C:\Program Files (x86)\HPE\Unified Functional Testing\bin64\EventsHook.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Unloaded 'C:\Program Files (x86)\HPE\Unified Functional Testing\bin64\EventsHook.dll'
'SearchUI.exe' (Win32): Loaded 'C:\Program Files (x86)\HPE\Unified Functional Testing\bin64\EventsHook.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Loaded 'C:\Windows\System32\oleacc.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Unloaded 'C:\Windows\System32\oleacc.dll'
'SearchUI.exe' (Win32): Unloaded 'C:\Windows\System32\msvcp140.dll'
'SearchUI.exe' (Win32): Unloaded 'C:\Windows\System32\vcruntime140.dll'
'SearchUI.exe' (Win32): Unloaded 'C:\Program Files (x86)\HPE\Unified Functional Testing\bin64\EventsHook.dll'
'SearchUI.exe' (Win32): Loaded 'C:\Program Files (x86)\HPE\Unified Functional Testing\bin64\EventsHook.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Unloaded 'C:\Program Files (x86)\HPE\Unified Functional Testing\bin64\EventsHook.dll'
'SearchUI.exe' (Win32): Loaded 'C:\Program Files (x86)\HPE\Unified Functional Testing\bin64\EventsHook.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Loaded 'C:\Windows\System32\oleacc.dll'. Cannot find or open the PDB file.
'SearchUI.exe' (Win32): Unloaded 'C:\Windows\System32\oleacc.dll'
'SearchUI.exe' (Win32): Unloaded 'C:\Windows\System32\msvcp140.dll'
'SearchUI.exe' (Win32): Unloaded 'C:\Windows\System32\vcruntime140.dll'
'SearchUI.exe' (Win32): Unloaded 'C:\Program Files (x86)\HPE\Unified Functional Testing\bin64\EventsHook.dll'
d:\os\src\shellcommon\shell\cortana\core\src\userauthenticationmanager.cpp(861)\Cortana.Core.dll!00007FFD8B00C6E1: (caller: 00007FFD8B295FF6) ReturnHr(118) tid(41c4) 80070490 Élément introuvable.
Exception thrown at 0x00007FFDBA1DA388 (KernelBase.dll) in SearchUI.exe: 0x40080201: WinRT originate error (parameters: 0x0000000080070490, 0x0000000000000016, 0x000000554DBFEC10).
d:\os\src\shellcommon\shell\cortana\common\utilities\inc\cortanaregistryhelpers.h(44)\SearchUI.exe!00007FF6CAB76C67: (caller: 00007FF6CAA5FB0F) ReturnHr(28) tid(1f84) 80070002 Le fichier spécifié est introuvable.
CallContext:[\CortanaApp_HandleActivationFromLaunch\CortanaApp_Initialize\AppStateManager_PerformFinalActivationActivities]
d:\os\src\shellcommon\shell\cortana\common\utilities\inc\cortanaregistryhelpers.h(44)\Cortana.Core.dll!00007FFD8AFBBFD2: (caller: 00007FFD8AFD648E) ReturnHr(119) tid(1f84) 80070002 Le fichier spécifié est introuvable.
d:\os\src\shellcommon\shell\cortana\core\src\settings\configurationmanager.cpp(2711)\Cortana.Core.dll!00007FFD8AFD64AE: (caller: 00007FF6CAA5FBE6) LogHr(28) tid(1f84) 80070002 Le fichier spécifié est introuvable.
Exception thrown at 0x00007FFDBA1DA388 in SearchUI.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x000000554DBFF128. HRESULT:0x80070490 Élément introuvable.
WinRT information: Élément introuvable.
Stack trace:
>[External Code]
>CortanaApi.dll!00007ffd8b2bff7f()
>CortanaApi.dll!00007ffd8b29603a()
>CortanaApi.dll!00007ffd8b200891()
>CortanaApi.dll!00007ffd8b1ff999()
>SearchUI.exe!00007ff6ca9c84ae()
>SearchUI.exe!00007ff6caa5f287()
>SearchUI.exe!00007ff6caa1ed88()
>[External Code]