title: Delphi DLL Case Sensitivity
body: <p>I am writing a dll in delphi XE8 to be used by an app written in Delphi XE8.</p>
  
  <p>My DLL looks like this.</p>
  
  <pre><code>  function GetInt : Integer; stdcall;
    begin
      Result := 300;
    end;
    exports GetInt;
  </code></pre>
  
  <p>My App looks like this.</p>
  
  <pre><code>dllHandle := LoadLibrary(PChar('myDLL.dll'));
    ShowMessage(SysErrorMessage(GetLastError));
    if dllHandle &lt;&gt; 0 then
    begin
      @GetInt := GetProcAddress(dllHandle, 'GetInt');
      ShowMessage(SysErrorMessage(GetLastError));
      if Assigned(GetInt) then
        ShowMessage(IntToStr(GetInt))
      else
        ShowMessage('Nope');
      end;
  </code></pre>
  
  <p>I get a "Specified Procedure could not be found" error. So I change my exports statement and my @GetInt statement from "<strong>G</strong>etInt" to "<strong>g</strong>etInt". Now everything is just fine. </p>
  
  <p>So now my question: Why do my dll function and export need to be the same word with differing case sensitivity? </p>