title: Free Pascal can't find entry point for dll
body: <p>I am complete new to pascal.
  I want to call my function in .dll file in free pascal and I get following error when I run the project:</p>
  
  <p>The procedure entry point GetProcAddress could not be located in the dynamic link library HNLib.dll.</p>
  
  <p>here is the code:</p>
  
  <pre><code>Program Test;
  function GetProcAddress : Integer; cdecl; external 'HNLib.dll';
  function GetProcAddress : Single; cdecl; external 'HNLib.dll';
  procedure GetProcAddress( X : Single); cdecl; external 'HNLib.dll';
  procedure GetProcAddress; cdecl; external 'HNLib.dll';
  begin
    GetProcAddress( 5.5 );
    readln;
  end.
  </code></pre>
  
  <p>.pas file and dll are in one directory.</p>
  
  <p>Please Help ME!</p>