title: How to add DLL function into Inno Setup iss file?
body: <p>I tried to read sample code for how to load DLL at Inno Setup, but I'm confused.</p>
  
  <p>I have one DLL (<code>ChkArchInfo.dll</code>) and the contents is simple:</p>
  
  <pre class="lang-c prettyprint-override"><code>extern "C" __declspec(dllexport) bool __stdcall IsARM()
  {
      SYSTEM_INFO si; 
      GetNativeSystemInfo(&amp;si); 
  
      if(PROCESSOR_ARCHITECTURE_ARM == si.wProcessorArchitecture)
         return true;
  
      return false;
  }
  </code></pre>
  
  <p>I know I need to use <code>[Files]</code> section to load the DLL file.
  But how to declare this function at .iss to let me use it?</p>
  
  <p>BTW, If there any functions in Inno Setup to get ARM architectute? (<code>ProcessorArchitecture</code> doesn't include ARM architectute)</p>
  
  <p>Please help me to do....
  Thank you!!!</p>
  
  <p>BR,
  Alan</p>