unfortunately, _set_invalid_parameter_handler is only available in versions of the CRT that MSVC builds link to (msvcr100.dll for ex), but it is not exported by msvcrt.dll, which is the legacy C runtime DLL that MinGW builds link to.
can be verified by dumping the exports of these DLLs, using eg "objdump -x x.dll" (from a MinGW environment) or "dumpbin /EXPORTS x.dll" (from a VS env).
unfortunately, _set_invalid_ parameter_ handler is only available in versions of the CRT that MSVC builds link to (msvcr100.dll for ex), but it is not exported by msvcrt.dll, which is the legacy C runtime DLL that MinGW builds link to.
can be verified by dumping the exports of these DLLs, using eg "objdump -x x.dll" (from a MinGW environment) or "dumpbin /EXPORTS x.dll" (from a VS env).