title: extern "C" dllexport producing strange name
body: <p><del>I'm trying to write library with method that can be executed with <code>rundll32.exe</code>, but</del> I can't seem to force generation of proper export name:</p>
  
  <p>on 32bit configuration I get <code>DoStuff(x,x,x,x)</code><br>
  on 64bit configuration I get <code>DoStuff</code></p>
  
  <p>Why is that?</p>
  
  <p>Tools: Visual Studio 2012; Windows 8</p>
  
  <p>Code:</p>
  
  <pre><code>extern "C" __declspec(dllexport) void __stdcall DoStuff(HWND hwnd, HINSTANCE hinst, LPSTR lpszCmdLine, int nCmdShow)
  {
      MessageBoxA(NULL, lpszCmdLine, "Cookies", 0);
  }
  </code></pre>