api-ms-win-core-registry-l1-1-0.dll is missing
Solution 1:
api-ms-win-core* files are virtual dlls used by Windows7. This looks like your program is running in compatability mode (e.g. compatabilitity for Windows XP) but is actually compiled for Windows 7.
If this is a new application, try changing the output EXE file name to reset the compatability state for the program.
If this is an application that you got from the Internet or a friend, uninstall it and then reinstall it.
Solution 2:
i had the exact same issue, when starting a program (Autodesk 3dmax ) after removing VS2011. I fixed it based on the clue given in the link. On my system, I found I had d3d9.dll and d3d9d.dll in windows\system and windows\syswow64. The date/time on d3d9d.dll was from 2011 and so I deleted both copies of d3d9d.dll and left the d3d9.dll alone (from 2010). That fixed the issue for me.
Solution 3:
I have had the same problem with api-ms-win messages: I could not run any program on my computer and the only browser that worked was google chrome.
I solved the problem when I found on Google that Windows updates were responsible for this problem. At first I was unable to uninstall the latest updates, so I restored the system to the last date before the update (mostly security updates)..
From Action Center choose Restore Computer to an earlier time. After restoring your comp of course change settings of windows update to manual.
Solution 4:
When I installed Visual Studio 11 Preview it installed d3d9d.dll
of Windows 8 SDK also in C:\Windows\SysWOW64
folder.
Even if you uninstall / reinstall the DirectX SDK (June 2010) it will not override this version of d3d9d.dll
because it is more recent than one in the DirectX June 2010 SDK...
So, I manually replace it by one installed in C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Developer Runtime\x86
and now I can run and debug my D3D9 game when I activate debug D3D9 runtime from DirectX Control Panel...