Hey guys,<br><br><a href="http://source.winehq.org/git/wine.git/?a=history;f=dlls/msvcrt;hb=1ac16331611827bdd7c72779b9c9747e85e9c346">Recently</a> wine has made some improvements to its msvcrt and I&#39;ve taken the time to port them to reactos. changes include:<br>
<ul><li>implement per thread crt locales and many locale functions.</li><li>implement/improve support for vc6, vc7, vc8 exceptions.</li><li>implement/improve language support functions.</li><li>implement/improve many library functions.</li>
<li>implement many secure functions.<br></li><li>use spec file for msvcrt.dll</li><li>fix amd64 linking issues.</li><li>add msvcirt.dll, msvcr7.dll ,msvc71.dll, msvc80.dll, msvcr90.dll from wine (no longer need to install versions of ms runtime for visual c language apps)</li>
</ul><br>changes are divided into different parts but building has not been tested with individual parts.<br>part 1, 2 and 3 include changes to centralize the definition of several key macros (see reactos/wine/exception.h, reactos/wine/config.h, crt/include/internal/wine/cppexcept.h)<br>
<br>also on part 2 in scanf.c wcs.c and possibly other files i didn&#39;t know what libcntpr expected so i was quite severe hacking out functions and only letting in the minimum necesary to build ntoskrnl and everything else that uses it.<br>
<br>part3 includes changes to baseaddress.rbuild that should be revised, i didn&#39;t know how to calculate a good base address for the msvcr dlls so i just used the same one and let ntdll reallocate if necesary...<br><br>
part5 applies to rostests.<br><br>and before you say it... msvcrt_winetest file now crashes with this trace:<br>dll/win32/kernel32/file/create.c:136 (CreateFileW@28) &lt;-- arch didn&#39;t check if lpFileName was valid<br>
lib/sdk/crt/stdio/file.c:1485 (_wsopen)<br>modules/rostests/winetests/msvcrt/file.c:1179 
(test_fopen_fclose_fcloseall)<br><br>