Re:How do I inform Windows that I'm writing a binary file?
by gmueckl on Wednesday May 06, 2026 @10:31PM
(#48044727)
I believe that it technically belongs to Visual C++, not the operating system, but it needs to ship with the OS because the user space binaries are compiled with MSVC.
Re:How do I inform Windows that I'm writing a binary file?
by ack_complete on Wednesday May 06, 2026 @10:48PM
(#48044853)
It's both. Originally Visual C++ binaries built for DLL-based C runtime relied on MSVCRT.DLL and that was installed by the redist. Starting with Visual Studio .NET 2002, separate CRT DLLs starting with MSVCR70.DLL were used. MSVCRT.DLL is now part of Windows to support parts of the OS itself and for compatibility with programs that still use it. I think some versions of MinGW also use MSVCRT.
Current versions of the OS ship with functions in MSVCRT.DLL that weren't in the last VC6 version, such as the updated C++ exception handler (__CxxFrameHandler4). AFAIK, there is no redistributable version of it, it's unique to the OS.
Re:How do I inform Windows that I'm writing a binary file?
by pjmlp on Thursday May 07, 2026 @01:40AM
(#48045808)
That is for backwards compatibility, the now finally official C standard library that is distributed with the OS, since Windows 10, is UCRT (Universal C Runtime).
Re:How do I inform Windows that I'm writing a binary file?
by dboreham on Wednesday May 06, 2026 @10:45PM
(#48044834)
It was there but mystery meat vs whatever version you might need for your binary.
Re:How do I inform Windows that I'm writing a binary file?
by userbinator on Wednesday May 06, 2026 @10:56PM
(#48044917)
They are backwards-compatible. I've written many tiny (few KB) utilities that work from Win95 through Win11, and of course WINE.
Re:How do I inform Windows that I'm writing a binary file?
by ChrisSD on Thursday May 07, 2026 @12:30AM
(#48045412)
For some background on what I meant see:
https://devblogs.microsoft.com/oldnewthing/20140411-00/?p=12...
https://learn.microsoft.com/en-us/cpp/windows/universal-crt-...
By "recently" you mean Win95? MSVCRT.DLL has been there for at least that long.