I was testing a recently built plugin (built with VS 2019 using dynamically-linked run-time libs) on a machine running Windows 8.1 (fully updated) and ran into the “missing VCRUNTIME140_1.dll” error. Installing the latest MSVC++ 2015-2022 redistributable fixed this, as expected.
Now, I was under the impression that:
- Since some time when MS made some changes related to these run-time libs (around 2019?), these MSVC++ run-time libs are now part of the operating system (and get updated along with Windows Updates), so it is no longer necessary to redistribute them along with my plugin.
- This is supposed to just work for Windows 10, and for Windows 8.1 the run-time libs should have got installed through Windows Update when updating to the latest version of Windows 8.1.
Is the above correct for Windows 10?
And why is it that on that (fully updated) Windows 8.1 machine it didn’t work (and the libs were missing)?
There must be something I got wrong I suppose…