Office 2010 gotcha 2: Visual Studio 2008 Locks
Explains how installing Office 2010 can cause Visual Studio 2008 to freeze when editing ASPX files, and provides a fix by repairing the Web Authoring …
TL;DR; Installing Office 2013 on a system with Visual Studio 2012 RC can cause C++ runtime errors. Apply the July 2012 update to resolve compatibility issues and restore functionality.

After installing Office 2013 on a machine with Visual Studio 2012 you get a “The procedure entry point _Atomic_fetch_sub_4 could not be located in the dynamic link library c:Program Files (x86)Microsoft Visual Studio 11.0Common7IDEdevenv.exe” error when trying to load Visual Studio 2012.
Figure: _Atomic_fetch_sub_4 exception
Some of my colleagues ran into this.
This is a C++ runtime conflict between Visual Studio 2012 RC and Office 2013 Preview.
This update addresses incompatibility issues that are caused by installing later versions of the C++ Runtime on a machine with Visual Studio 2012 Release Candidate. The update ensures that the Visual Studio executable file loads the compatible C++ Runtime DLLs in the app-local directory instead of loading the incompatible C++ Runtime DLLs that are installed by other applications in the system-wide directories.
- KB2703187
You will not be able to run Visual Studio until you have installed a patch.
In order to prevent this error you should install the July 2012 update for Visual Studio 2012 RC prior to installing Office 2013 Preview.
Figure: Install the July 2012 Update for Visual Studio 2012
If you did not install it first and you are unable to launch Visual Studio 2012 then you should download the July 2012 update from the Microsoft downloads site and install it manually.
Figure: Install July 2012 Update
I found that this does not affect Visual Studio 2012 installs that already have a previous update on Windows 8, but does affect vanilla Release Candidate installs.
Did this fix your problem?
Each classification [Concepts, Categories, & Tags] was assigned using AI-powered semantic analysis and scored across relevance, depth, and alignment. Final decisions? Still human. Always traceable. Hover to see how it applies.
If you've made it this far, it's worth connecting with our principal consultant and coach, Martin Hinshelwood, for a 30-minute 'ask me anything' call.
We partner with businesses across diverse industries, including finance, insurance, healthcare, pharmaceuticals, technology, engineering, transportation, hospitality, entertainment, legal, government, and military sectors.

Genus Breeding Ltd

Graham & Brown

Brandes Investment Partners L.P.

MacDonald Humfrey (Automation) Ltd.

Emerson Process Management

Philips

Deliotte

SuperControl

Lean SA

Trayport

Milliman

Workday

Schlumberger

Healthgrades

Jack Links

Cognizant Microsoft Business Group (MBG)

Alignment Healthcare

Sage

Washington Department of Transport

Royal Air Force

Nottingham County Council

Washington Department of Enterprise Services

Ghana Police Service

Department of Work and Pensions (UK)

Schlumberger

Kongsberg Maritime

Akaditi

Teleplan

Big Data for Humans

Xceptor - Process and Data Automation