Windows – api-ms-win-core-registry-l1-1-0.dll is missing

windows 7

I've compiled a relatively simple Direct3D9 program in C++. However, whenever I try to use the Debug runtime, this error pops up. According to all of the references I have found, this DLL is not listed to exist in Windows 7. At first, I figured it was a problem with my application. But I went to Windows Update and installed all the latest updates.

Now I have other applications which haven't been touched like Chrome which are reporting the same problem- the message box pops up often. I've reinstalled Visual Studio to no effect and run all the latest Windows patches, which also have had no effect.

Any suggestions?

Best Answer

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.