title: Dependency Walker shows up @x after function names
body: <p>I'm writing a plugin DLL for a piece of software and the DLL compiles fine, but the software is not able to access the DLL's functions. I do know that the software is aware of the DLL though.</p>
  
  <p>When I examine the DLL in Dependency Walker, the function names have <code>@x</code> appended to the end, e.g. <code>Foo@4</code> which means that Foo has 1 parameter (number of function parameters multiplied by 4).</p>
  
  <p>However, when I examine a plugin DLL which is known to work the DLL functions do not have <code>@x</code> appended at the end. Since this DLL is known to work and my DLL does not work, I think this has something to do with it.</p>
  
  <p>The DLL that works uses <code>__declspec(dllexport) __stdcall</code> on its exported functions. Note that I only have the source code of the good DLL. I know it works because I have the DLL file itself, which I haven't compiled myself. As far as I know this was compiled in the Borland IDE, so it's probably an Eclipse specific problem here?</p>
  
  <p>Does anyone know what might be wrong and/or how I can make the DLL work properly?</p>
  
  <p><strong>EDIT</strong> I should point out I'm using Eclipse IDE, with MINGW compiler.</p>