title: E2065: Unsatisfied forward or external declaration
body: <p>i have a c function 'cGetLen' that i want to call it from delphi2009 but got the above titel Error.</p>
  
  <p>any help please ?</p>
  
  <p>here is the code</p>
  
  <pre><code>unit testpas;
  
  interface
  
  function dFunc():Integer ; stdcall; 
  
  
  implementation
  
  
  function cGetLen(str1, str2: PAnsiChar): Integer ; cdecl; external;
  
  
  function dFunc():Integer ; stdcall; 
  var
      fstr1: ANSIString;
      sstr2: ANSIString;
  begin   
      fstr1 := 'hello';
      sstr2 := 'there';
  
      dFunc := cGetLen( PAnsiChar(fstr1), PAnsiChar(sstr2) );
  
  end;
  
  begin
  
  end.
  </code></pre>