The function Release is not compiled into DLL
<p>I'm writing a DLL in Visual C++. Why not compile a function, which I call Release, inside a DLL?</p>

<blockquote>
  <p>Error   25  error LNK2001: unresolved external symbol Release
  C:\projects...\my.def</p>
</blockquote>

<p>If I replace the Release function to Release1, then it works.</p>

<p>my.h </p>

<pre><code>DLL_API void Release();
</code></pre>

<p>my.cpp</p>

<pre><code>void Release() {

}
</code></pre>

<p>my.def</p>

<pre><code>LIBRARY   "myDll"
EXPORTS
    Release   @1
</code></pre>