title: How to check if an executable or DLL is build in Release or Debug mode (C++)
body: <p>I need to find the mode EXE/DLL was build looking at its headers. (Using C++ only without any external tools)</p>
  <p>There is an old discussion on how to determine if DLL was built in Release or Debug mode.
  <a href="http://forums.codeguru.com/archive/index.php/t-485996.html" rel="noreferrer">http://forums.codeguru.com/archive/index.php/t-485996.html</a></p>
  <p>But unfortunately, I did not find any clear answer.</p>