fix missing crtdll.dll error

 

Overview

I did some digging. first, I looked at this article in about.com. I didn't want to obliterate my file changes, so I didn't do a system restore, but instead styarted looking for the crtdll.dll file under %SystemRoot% or %Windir% (same thing).

This means that when you install windows, programs that are compiled with some c++ compilers which depend upon the crtdll.dll will not work because the windows looks for the DLL in the PATH, and the PATH doesn't contain %SystemRoot%\SysWOW64. so it's not going to find it, thus you get the "not found" dialog. once you add this in, it should work, however, it may only work for 32-bit programs since it's in SysWOW64 apparently (makes no sense to me) Microsoft put the 32-bit stuff in SysWOW64 and 64-bit stuff in system32.

just so you know, crtdll.dll does not exist outside of SysWOW64 on win7. so my guess is it's a 32-bit DLL.

so you don't need to download it or anything, and you probably don't have a virus, and you probably don't need to do a system restore.

just look for crtdll.dll. it's a runtime DLL microsoft supplies with windows. it's possible it may be supplied with a microsoft compiler, but my understanding is it comes with windows (starting with which version I don't know - I have 7 and it has this file).

fix

crt.dll is in %SystemRoot%\SysWOW64 (C:\Windows\SysWOW64) so THIS is what you need to add to your PATH:

  1. [windows-logo-flag-key]-[pause/break], Advanced, environbment variables, system,
  2. find and click on PATH
  3. click edit
  4. click in the path so it's not highlighted (we don't want to replace, but instead insert text)
  5. hit the [End] key to get to the end of the line.
  6. hit the semicolon key (;), this is a directory/folder path separator.
  7. copy and paste in %SystemRoot%\SysWOW64