title: Another error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup
body: <p>I know this has been asked a thousand times but I can't fix this simple problem.</p>
  
  <p>This is the code:</p>
  
  <pre><code>#include "windows.h"
  
  extern "C"
  {
      INT WINAPI WinMain(HINSTANCE hInst, HINSTANCE, LPSTR strCmdLine, INT)
      {
          return 0;
      }
  }
  </code></pre>
  
  <p>The subsystem is set to <code>Windows (/SUBSYSTEM:WINDOWS)</code>. I have the following error:</p>
  
  <p><code>error LNK2019: unresolved external symbol _WinMain@16 referenced in function ___tmainCRTStartup</code></p>