title: Can't get GetModuleFileNameA to work, keep getting error 'missing type specifier...'
body: <p>I am trying to use 'GetModuleFileNameA' but I keep getting the error 'c4430: missing type specifier - int assumed'.  From reading the results from my google search I am guessing that it is from my use of NULL:</p>
  
  <pre><code>char Filename[MAX_PATH]; //this is a char buffer
  GetModuleFileNameA(NULL, Filename, sizeof(Filename));
  </code></pre>
  
  <p>NULL is supposedly defined in #include stdio.h which I have included in my project, what am I doing wrong?</p>
  
  <p>Thanks.</p>