TaranVH / 2nd-keyboard

ALL of Taran's scripts - not just for the 2nd keyboard.
https://www.youtube.com/watch?v=O6ERELse_QY
1.65k stars 538 forks source link

intercept.exe not working due to missing MSVCR100.DLL or failing with "unable to start correctly (0xc000007b)" #153

Open edwinst opened 2 years ago

edwinst commented 2 years ago

On my Windows 10 install, the provided intercept.exe program did not work. It complained about a missing MSVCR100.DLL. I have solved this problem (see my pull request #152 ) and I am opening this issue so others have a better chance of finding the solution.

Root cause for the problem:

intercept.exe needs the 32-bit versions of msvcr100.dll and msvcp100.dll. My system had only the 64-bit versions of these DLLs installed (in C:\Windows\System32), and I suspect this is the usual status quo in new Windows 10+ setups. First, not knowing which version was needed, I tried copying the two DLLs from C:\Windows\System32 into the folder that contains intercept.exe. The "missing ... .dll" error message disappeared but now intercept.exe failed with an "Application Error" saying "unable to start correctly (0xc000007b).". The cause for the latter error message is the version mismatch of the 64-bit DLLs with the 32-bit program intercept.exe.

Solution:

Get the 32-bit versions of the two DLLs (contained in my pull request #152 ) and put them in the same folder as intercept.exe.

This pull request also contains a description of how to obtain these DLLs from Microsoft.