Hi,
Only debugging version of the dll is passing data to invalid_paramter_handler. I guess it's why we shouldn't do it.
There already is a test for it in msvcr90 (see strtoi64 tests). Because it was not strict enough it will not show it very well. Currently it will not show that it was expecting invalid_parameter_handler to be invoked (but will fail checking errno that should not be changed). Of course this behavior may vary between msvcrXX dlls, I have tested it only with msvcr90 and msvcrt on Windows XP.
Cheers, Piotr