title: MSVC2015: __vcrt_UnhandledException could not be located
body: <p>While updating a C++ project to VS2015 RC using Windows 7 I've hit the following error dialog while debugging:</p>
  <blockquote>
  <p>project_name.exe - Entry Point Not Found</p>
  <p>the procedure entry point __vcrt_UnhandledException could not be located in the dynamic link library VCRUNTIME140.ddl.</p>
  </blockquote>
  <p>In the output window, (along with a typical list of missing PDBs) I get:</p>
  <blockquote>
  <p>Exception thrown at 0x775E1FB6 (ntdll.dll) in project_name.exe: 0xC0000139: Entry Point Not Found.</p>
  <p>The program '[9400] project_name.exe' has exited with code -1073741511 (0xc0000139) 'Entry Point Not Found'.</p>
  </blockquote>
  <p>My project depends on <a href="http://libsdl.org" rel="nofollow noreferrer">SDL</a>, <a href="http://www.libsdl.org/projects/SDL_image/" rel="nofollow noreferrer">SDL_image</a>, <a href="http://www.opengl.org" rel="nofollow noreferrer">OpenGL</a> and <a href="http://ode.org/" rel="nofollow noreferrer">ODE</a>.</p>
  <p>I've tried a bunch of different things including changing the SubSystem from CONSOLE to WINDOWS, re-compiling SDL2 with various different options, replacing SDL2main.lib with an explicit <code>WinMain</code> function and changing compiler settings such as disabling exceptions.</p>
  <p>I cannot find any mention of symbol <code>__vcrt_UnhandledException</code> online. What is necessary to make the code executable with VCRUNTIME140.dll?</p>