I made a console application in vs 2017, I can't run it on other computers, it gives a dll error
Error:vcruntime140_1.dll not found
CodePudding user response:
You can rebuild your application with MT option. The program build with this option will not depends on crt dll. Because MT option means static link with C runtime library.
This is an example: how to set runtime library to Multithreaded (/MT) in VS2017?
CodePudding user response:
you can download vcruntime140_1.dll by searching on google, and then after you download vcruntime140_1.dll, copy and paste C: > Windows > SysWOW64 (if you using windows 64 bit) C: > Windows > System32 (if you using windows 32 bit)