justinsteven/dostackbufferoverflowgood

The vcruntime dependency is not clearly explained

justinsteven opened this issue · 2 comments

I have had a few reports of the vcruntime giving people grief.

See https://www.reddit.com/r/netsecstudents/comments/adl6px/issue_with_dostackbufferoverflowgoodexe_learning/ for example

The README and/or .md/PDF should make it clear how to resolve the vcruntime dependency, especially in the case of a x64 host OS. Furthermore, consider a FAQ entry explaining that an error 0x7b might be due to attempting to force a x64 vcruntime DLL upon the exe

Another instance of this is as follows (thanks to @jephk9 for the report)

@jephk9 said:

[...] I'm failing to get it to run. Error Ox000007b, on Win 7

I said:

[...] your vc runtime might be missing or broken. Also make sure you have the x86 version of the runtime installed, even if your OS is x64 [...]

@jephk9 said:

[...] I had installed both the x64 version and x68 versions of the Microsoft Visual C++ 2015 Redistributable.
I had also manually placed vcruntime140.dll in C:\Windows\SysWOW64 and C:\Windows\System32.
My OS Win 7 X64 SP1.
Solution. Was to remove all instances of manually copied vcruntime140.dll files and uninstalling both versions of Microsoft Visual C++ 2015 Redistributable and then re-installing the x86.

Fixed in #11