Re: [Mingw-w64-public] [PATCH] msvcr80: Provide _set_invalid_parameter_handler compat implementation in libmsvcr80.a.
在 2018/11/28 0:57, Jacek Caban 写道: > Signed-off-by: Jacek Caban > --- > mingw-w64-crt/Makefile.am | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > What is the rationale for this? I can see `_set_invalid_parameter_handler` exported from both x86 and x64 MSVCR80.DLL. -- Best regards, LH_Mouse signature.asc Description: OpenPGP digital signature ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] [PATCH] msvcr80: Provide _set_invalid_parameter_handler compat implementation in libmsvcr80.a.
Hi Mateusz, On 27/11/2018 22:32, Mateusz wrote: W dniu 27.11.2018 o 20:28, Mateusz pisze: W dniu 27.11.2018 o 17:57, Jacek Caban pisze: Signed-off-by: Jacek Caban --- mingw-w64-crt/Makefile.am | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) Thanks! I've added stdio/fseeki64.c and stdio/mingw_lock.c and was able to build x265. Bad news is that x265 is not working -- it displays message box: Microsoft Visual C++ Runtime Library Runtime Error! Program: f:\speed\2.9+9\x265m08.exe R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information. [OK] It is much better but not perfect. I have the same problem with exe linked to msvcr90.dll (on Windows 10 64-bit Home). I can run exe linked to msvcr100/110/120.dll, ucrtbase.dll and msvcrt.dll. Is it needed something special to run exe linked to msvcr80/90.dll on 64-bit Win10? Those DLLs required manifests to be loaded properly from winsxs. It failed if it detected that it was loaded without manifest. They dropped that horrible idea with msvcr100. (FWIW, that's one of reasons why I consider msvcr80 and msvcr90 to be barely useful for mingw-w64 and good candidates for dropping). Jacek ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] [PATCH] msvcr80: Provide _set_invalid_parameter_handler compat implementation in libmsvcr80.a.
On Tue, 27 Nov 2018, Mateusz wrote: W dniu 27.11.2018 o 20:28, Mateusz pisze: W dniu 27.11.2018 o 17:57, Jacek Caban pisze: Signed-off-by: Jacek Caban --- mingw-w64-crt/Makefile.am | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) Thanks! I've added stdio/fseeki64.c and stdio/mingw_lock.c and was able to build x265. Bad news is that x265 is not working -- it displays message box: Microsoft Visual C++ Runtime Library Runtime Error! Program: f:\speed\2.9+9\x265m08.exe R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information. [OK] It is much better but not perfect. I have the same problem with exe linked to msvcr90.dll (on Windows 10 64-bit Home). I can run exe linked to msvcr100/110/120.dll, ucrtbase.dll and msvcrt.dll. Is it needed something special to run exe linked to msvcr80/90.dll on 64-bit Win10? IIRC those versions required some extra setup for loading the msvcrt dll, some manifest or similar (it shouldn't be specific to Win10). // Martin ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] [PATCH] msvcr80: Provide _set_invalid_parameter_handler compat implementation in libmsvcr80.a.
W dniu 27.11.2018 o 20:28, Mateusz pisze: > W dniu 27.11.2018 o 17:57, Jacek Caban pisze: >> Signed-off-by: Jacek Caban >> --- >> mingw-w64-crt/Makefile.am | 8 ++-- >> 1 file changed, 6 insertions(+), 2 deletions(-) > > Thanks! I've added stdio/fseeki64.c and stdio/mingw_lock.c and was able to > build x265. > > Bad news is that x265 is not working -- it displays message box: > Microsoft Visual C++ Runtime Library > Runtime Error! > Program: f:\speed\2.9+9\x265m08.exe > R6034 > An application has made an attempt to load the C runtime > library incorrectly. > Please contact the application's support team for more > information. > [OK] > > It is much better but not perfect. I have the same problem with exe linked to msvcr90.dll (on Windows 10 64-bit Home). I can run exe linked to msvcr100/110/120.dll, ucrtbase.dll and msvcrt.dll. Is it needed something special to run exe linked to msvcr80/90.dll on 64-bit Win10? Regards, Mateusz ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
Re: [Mingw-w64-public] [PATCH] msvcr80: Provide _set_invalid_parameter_handler compat implementation in libmsvcr80.a.
W dniu 27.11.2018 o 17:57, Jacek Caban pisze: > Signed-off-by: Jacek Caban > --- > mingw-w64-crt/Makefile.am | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) Thanks! I've added stdio/fseeki64.c and stdio/mingw_lock.c and was able to build x265. Bad news is that x265 is not working -- it displays message box: Microsoft Visual C++ Runtime Library Runtime Error! Program: f:\speed\2.9+9\x265m08.exe R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information. [OK] It is much better but not perfect. Regards, Mateusz ___ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public