In reply to:
visual c++ - Why is ntdll.dll crashing my c++ executable? - Stack Overflow
Exception code 0xC0000374 means STATUS_HEAP_CORRUPTION. It is the most common way to crash a C++ program. – Hans Passant Nov 14 '12 at 23:27
(1) Okay try the default printer reassignment trick:
(2) If that does not work, try disabling security anti-virus software.
(3) If that is not culprit, check all hardware drivers (some bluetooth drivers have been known to corrupt the heap.)
(4) A corrupt Windows user profile can also cause this. To test, create a new administrative user account, log off your normal account, and onto the new account, and try to start the crashing application.