<p>Op 23 sep. 2011 04:35 schreef "Ahmed Charles" <<a href="mailto:ahmedcharles@gmail.com">ahmedcharles@gmail.com</a>> het volgende:<br>
><br>
> Note: msvcrt.dll is not a msvc shipped and supported dll, despite its<br>
> name. It's a windows implementation detail, essentially. The shipped<br>
> and supported msvc dlls are all msvcrt*.dll where * is a version<br>
> number, like 80 for 2005.</p>
<p>Every MinGW app links to the OS-provided msvcrt.dll by default. It had been like this since the beginning, and it works well. You can explicitly link the numbered versions too, though. Of course it's 'supported' (it's a core part of the OS) and it's been shipped with Windows since every version after 98.</p>

<p>The exported API does change from Windows version to Windows version. Libc++ cannot explicitly link to a predefined version, as this would limit the binary's compatibility.</p>
<p>Ruben</p>
<p>><br>
> And the only way to ensure that the dlls are there is to ship them.<br>
> From: Aaron Ballman<br>
> Sent: Thursday, September 22, 2011 12:29 PM<br>
> To: <a href="mailto:vanboxem.ruben@gmail.com">vanboxem.ruben@gmail.com</a><br>
> Cc: cfe-dev Developers<br>
> Subject: Re: [cfe-dev] [PATCH] Libc++ Windows fixes<br>
> On Thu, Sep 22, 2011 at 2:08 PM, Ruben Van Boxem<br>
> <<a href="mailto:vanboxem.ruben@gmail.com">vanboxem.ruben@gmail.com</a>> wrote:<br>
> > 2011/9/22 Aaron Ballman <<a href="mailto:aaron@aaronballman.com">aaron@aaronballman.com</a>><br>
> >><br>
> >> On Thu, Sep 22, 2011 at 10:33 AM, Ruben Van Boxem<br>
> >> <<a href="mailto:vanboxem.ruben@gmail.com">vanboxem.ruben@gmail.com</a>> wrote:<br>
> >> > 2011/6/30 Ruben Van Boxem <<a href="mailto:vanboxem.ruben@gmail.com">vanboxem.ruben@gmail.com</a>><br>
> >> > - include/__config/type_traits: add a define<br>
> >> > _LIBCXX_HAS_FEATURE_IS_BASE_OF<br>
> >> > for MSVC and GCC, which both have this, but not __has_feature, which is<br>
> >> > Clang-only. Modify <type_traits> accordingly.<br>
> >><br>
> >> I noticed that you're testing _MSC_VER 1400, which is VS 2005.<br>
> >> However, I couldn't find any documentation of is_base_of for anything<br>
> >> before Visual Studio 2008 (_MSC_VER 1500).  Unfortunately, I don't<br>
> >> have VS 2005 to test for sure, but this may require a second look.  Or<br>
> >> I could be wrong.  ;-)<br>
> ><br>
> > MSVS2005 page detailing __is_base_of. the 2003 page doesn't have this page,<br>
> > so I assume it does not support it.<br>
> > <a href="http://msdn.microsoft.com/en-us/library/ms177194%28v=vs.80%29.aspx">http://msdn.microsoft.com/en-us/library/ms177194%28v=vs.80%29.aspx</a><br>
><br>
> I stand corrected.  When I was looking at the page for the feature,<br>
> for some reason the "Other Versions" menu only listed VS 2008 and VS<br>
> 2010 for me.<br>
><br>
> >> > All this should work for both MinGW(-w64)/GCC and Microsoft/MSVC<br>
> >> > headers/libraries. Note the *_l functions are only available on recent<br>
> >> > Windows versions, which should be good enough for now. Especially the<br>
> >> > locale<br>
> >> > stuff (up till now!) should work for more than only plain "C" locale.<br>
> >><br>
> >> It's more dependent on the MSVCRT version on the system than the OS.<br>
> >> I've seen the _l versions of the APIs with VS 2005, and the claimed<br>
> >> support (assuming the proper redist is installed) is as far back as<br>
> >> Windows 95.<br>
> ><br>
> > Ok, good to know. After checking MSDN again, I did find all these functions<br>
> > in VS2005 doc pages, so that could mean XP has decent support (if kept up to<br>
> > date). I never understood how Windows, msvcrt.dll and the redistributable<br>
> > packages worked...<br>
><br>
> It's of a bit strange world.  The basic rule of thumb that never fails<br>
> is: assume there's never any MS CRT installed, and have your installer<br>
> include the DLLs or merge modules that come with the VC++ install in<br>
> the redist directory.  But you can't really rely on any specific CRT<br>
> being installed.  For instance, I'm on Win7 ultimate, and I've got<br>
> CRTs for 2010 and 2003 but not 2008 or 2005.  :-/<br>
><br>
> ~Aaron<br>
><br>
> _______________________________________________<br>
> cfe-dev mailing list<br>
> <a href="mailto:cfe-dev@cs.uiuc.edu">cfe-dev@cs.uiuc.edu</a><br>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev</a><br>
</p>