title: Unexpected Program exit with Code 0xC0000417 (Invalid C-Runtime Parameter)
body: <p>After upgrading a big project to Visual Studio 2013, the program cased a crash (Program stopped working) on a normal computer.</p>
  
  <p>Now when I debug this program in Visual Studio 2013, I don't see anything, except of the last message: "The program '[3948] Server.exe' has exited with code -1073740777 (0xc0000417)."</p>
  
  <p>The Code is defined in "ntstatus.h" as "Invalid C-Runtime Parameter"</p>
  
  <p>That's at least more, than just the "Program Stopped Working" message, I guess.</p>
  
  <p>Is there any way to catch this error? As the project is overly big, and some Libraries could have changed, I have no overview over all the parameter calls in this program.</p>
  
  <p>So I'm looking for a way to globally catch this error in my program in order to find out the invalid Parameter call. The program is also MFC Dialog based and does not contain a "main" method, why I couldn't find a way to globally use "_set_invalid_parameter_handler" which seems to be a C method, and not object orientatet at all.</p>
  
  <p>Thank you for any help! :)</p>