Hi - Some time ago I upgraded the old box (Alzheimers in the hardware) and jumped to W7HPx64. The new box has an i5-2400 CPU, FWIW.

My problem is that it came with VisualC++ 2005 and 2008, but nothing later. VC++ 2008 has two x64 files and one x86 file. And, as usual, I need to add new versions.

But, when I look through Microsoft's VC++ pages, it's confusing. Apparently, it's only for x86. But I can get VC++ 2010 SP1 which gives me a vcredist_x64 file? And there are some other updates, including a Security Update...

So {what|which files} do I need to install VC++ 2010 to suit an x64 box, and maybe also VC++ 2012?

Gordon.

Dani AI

Generated

Good find, — a short, practical checklist and why it matters.

On a 64‑bit Windows 7 machine you should install the official Visual C++ redistributables that match the compiler version used by the programs you run. For VC++ 2010 that means the Service Pack 1 redistributable (vcredist_x86.exe and vcredist_x64.exe / SP1 MFC Security Update). For VC++ 2012 use the Visual C++ 2012 Update 4 redistributable (again: vcredist_x86.exe and vcredist_x64.exe). Microsoft publishes these installers as the supported redistributables. (learn.microsoft.com)

Why install both x86 and x64 on a 64‑bit PC: a 32‑bit process can only load 32‑bit runtime DLLs, so 32‑bit applications require the x86 redistributable even when Windows itself is 64‑bit. In practice you should install the x86 and the x64 package for each Visual C++ version an app might need. Get the official vcredist_x86.exe and vcredist_x64.exe from Microsoft and run them as administrator; reboot if requested. (learn.microsoft.com)

Quick checklist (what to download for W7 x64)

  • Visual C++ 2010 SP1 Redistributable Package — vcredist_x86.exe and vcredist_x64.exe (version 10.0.40219.325 / SP1 MFC Security Update where applicable). (learn.microsoft.com)
  • Visual C++ 2012 Redistributable (Update 4) — vcredist_x86.exe and vcredist_x64.exe (version 11.0.61030.0). (learn.microsoft.com)

Notes and troubleshooting

  • Prefer Microsoft downloads (don’t grab single DLLs from random sites). If an app still fails, check its installer folder for a local redist or exact version requirement and contact the vendor if needed. Microsoft documents that redistributables must match the app architecture and that older VS redistributables are legacy/unsupported. (learn.microsoft.com)

This covers the exact files to grab and why you should install both architectures on an x64 box.

a-a-HA!!! Found it!!!!

Search explicitly for vc++ 2010 x64. This picks up Microsoft's x64 download page... And make sure you get the x32 file while you're there. Don't bother with any other hot-fixes or updates, this is a Runtime Environment here.

Gordon.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.