title: Is a Program Running in Compatibility Mode
body: <p>Is there a C++ .NET function that I can call that will detect if my program is running in compatibility mode? If there is not one, could someone show me the code for one? Thanks.</p>
  
  <p>For example:</p>
  
  <p>Program loads up
  Compatibility Mode check
  if true then exit
  else run</p>