title: Is it possible to access a 64-bit dll from a 32-bit application?
body: <p>I have a Delphi application similar to <a href="http://www.freewebs.com/nerdcave/taskbarshuffle.htm" rel="noreferrer">Taskbar Shuffle</a> that includes a hook dll.</p>
  
  <p><strong>EDIT</strong>: This hook DLL communicates with the main app by sending windows messages.</p>
  
  <p>I want to add support to XP and Vista x64 and my initial idea was to convert the dll to 64-bit (compiling it with FreePascal) but keep the application 32-bit for now (Delphi).</p>
  
  <p>Is it possible for a 32-bit application to access a 64-bit dll?</p>
  
  <p><strong>EDIT2</strong>: I'm loading the dll via LoadLibrary so I guess I'm stuck since a 32-bit process won't be able to load a 64-bit dll, according with what I read on the link pointed by Lars Truijens on one of the answers below.</p>