3 ms·
Need to set the registry key HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\CWDIllegalInDllSearch
by chris_wot 11y ago
Need to set the registry key HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\CWDIllegalInDllSearch
- pilif 11y agoThat's not enough - that's just removing the current working directory. But unfortunately, the issue here is that DLLs are put into the same directory as the executable to be run. You can't remove loading DLLs from the same directory as the executable on the OS level because many applications rely on this feature. This can only be fixed on a per-executable basis.