Run Time Library Validation
 
 
 

The VS2005 Run Time Library (RTL) is considerably more strict than previous versions. This is an aspect of Microsoft's security initiative by which errors are caught as early as possible, avoiding the execution of random code.

When the RTL detects an invalid parameter, it usually shows a message box, then terminates the application. It can be easy to fix your code, but there are situations where it is not so easy. For example, you may not have access to the source code.

For more information, consult the MSDN documentation on _CrtSetReportMode, _CrtSetReportHook and _set_invalid_parameter_handler.