1

I'm using Visual Studio 2019 and trying to compile a program that was compatible with Windows XP 32-bit.

When I first ran my .exe on my VM it said that it wasn't compatible with Win32. I've then changed the Platform Toolset to Visual Studio 2017 - Windows XP (v141_xp). Now it says I'm missing a VCRUNTIME140d.dll, and following instructions that said to change my Runtime Library to /MT I get the error stated in the title.

Any suggestions would be very much appreciated.

Meow
  • 55
  • 6
  • `/MT` is a compiler, not a linker option. Simply build your project in Release mode and install the necessary redistributable for XP? – cremno Oct 16 '19 at 05:46

1 Answers1

1

VCRUNTIME140d.dll is Visual C++ Redistributable for Visual Studio 2015.You need to download and install. And this is Debug versions of DLL. You must compile in Release mode.

Jeaninez - MSFT
  • 3,210
  • 1
  • 5
  • 20