Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #169; incompatibility when injecting multiple programs during Aut…
…oRun Repro: set AutoRun regkey to inject AutoHotkey, AnsiCon, and Clink. Supply absolute paths, and use: `script.ahk & ansicon -p & clink.bat inject --autorun` - inject only AHK and Clink --> all is well. - inject only AnsiCon and Clink --> all is well. - inject all 3 --> Clink never receives GetEnvironmentVariableW. I don't know why Martin had changed Clink to hook kernelbase.dll APIs on Win8 and higher, instead of always hooking kernel32.dll APIs. Hooking of kernelbase.dll has been the root cause of several bugs now, and hooking kernel32.dll APIs even on Win10 seems to work just fine. This change always hooks APIs from kernel32.dll.
- Loading branch information