Re: MSVCRT.DLL is no longer stated as the "Known DLL"
Yongwei Wu <[email protected]> Mon, 4 Jan 2016 20:08:17 +0800
| Newsgroups | gmane.comp.gnu.mingw.devel |
|---|---|
| Message-ID | <CADs46icdd=btG13k1ZpqR=_gv6hMUJzz62ywJHuJk6gUafG=_w@mail.gmail.com> |
On 4 January 2016 at 05:31, Keith Marshall <[email protected]> wrote: > > On 03/01/16 19:47, Earnie wrote: > > The read for MSVC 2015 removes the "Knwon DLL" wording. Compare the > > pages at > > https://msdn.microsoft.com/en-us/library/abx4dbyh(v=vs.140).aspx and > > https://msdn.microsoft.com/en-us/library/abx4dbyh(v=vs.120).aspx > > > > Just wanted to give a heads up to the changes in documentation. > > Unless MSVCRT.DLL no longer ships with Win10[*], I don't see how this is > in any way relevant for us. As a system DLL, use of MSVCRT.DLL is free > to the extent of being GPL compatible; the other MSVCRxxx.DLL variants > are not, and we prefer not to depend on them. > > The vs.140 reference suggests that the C runtime, formerly provided by > MSVCRT.DLL, will henceforth be factored into UCRT.DLL, (which will be > provided as a system DLL from Win10 onward), and VCRUNTIME<version>.DLL, > (which will be a non-free MSVC component). Thus, while MSVCRT.DLL > remains available as a system DLL, it should remain as our preferred > linking choice. > > [*] I don't have Win10, and have no intention of acquiring it, since I > no longer work for a company which forces me to use any version of > Windows; I am unable to personally confirm or deny the continued > existence of MSVCRT.DLL, in any Windows version later than Win7. > > -- > Regards, > Keith. >From the page quoted, I do not see any implication that MSVCRT.DLL will be removed from Windows 10. I think Microsoft just wants to discourage the use of MSVCRT.DLL, which is really obsolete. In the blog "Introducing the Universal CRT" <URL:http://blogs.msdn.com/b/vcblog/archive/2015/03/03/introducing-the-universal-crt.aspx?PageIndex=2#comments>, people actually commented: This is a good occasion for MinGW to switch from the horror of msvcrt.dll to ucrtbase.dll As MSVCRT has been broken regarding non-English support since Windows Vista, I tend to agree. The new runtime seems to support older version of Windows too. The gotcha is that some functions like memcpy is not in ucrtbase.dll. Best regards, Yongwei -- Wu Yongwei URL: http://wyw.dcweb.cn/ ------------------------------------------------------------------------------