title: fatal error LNK1120: 1 unresolved externals
body: <p>This is the program :</p>
  
  <pre><code>#include &lt;windows.h&gt;
  
  int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
                  PSTR szCmdLine, int iCmdShow)
  {
   MessageBox (NULL, TEXT ("Hello, Windows!"), TEXT ("HelloMsg"), 0) ;
  
   return 0 ;
  }
  </code></pre>
  
  <p>I can't understand the error.Please help in correcting it.</p>
  
  <pre><code>**ERROR** `fatal error LNK1120: 1 unresolved externals
  </code></pre>