From ReactOS Wiki
Revision as of 08:06, 6 March 2012 by BrentNewland (talk | contribs) (ChangeLog-0.2.3)
Jump to: navigation, search

Msvcrt.dll is the Microsoft Visual C++ Run-Time for Visual C++ version 4.2 to 6.0. It provides programs compiled with these versions of Visual C++ a typical set of library functions required by C and C++ programs. These include string manipulation, memory allocation, C-style input/output calls, etc.

It has also shipped with Windows versions since Windows 2000 for use by other Windows components. In older versions of Windows, programs which linked against Msvcrt.dll were expected to install a compatible copy in the System32 folder, but this contributed to DLL Hell.

Versions of Visual C++ before 4.0 and since 7.0 have used differently named DLLs for each version (msvcr20.dll, msvcr70.dll, msvcr71.dll, etc.). Applications are required to install the appropriate version.


  • Added many functions to msvcrt library







  • Made some flags for the flag value from the FILE structure compatible with the mingw headers (Hartmut Birr)
  • Use _IO_LBF instead of _IOLBF, because _IOSTRG and _IOLBF has the same value (Hartmut Birr)
  • Fixed _chmod and _wchmod (Hartmut Birr)
  • Don't change the environment block if the number of variables has not changed (in BlockEnvToEnviron) (Hartmut Birr)
  • Use a copy of the environment strings (in BlockEnvToEnviron) (Hartmut Birr)