I have a Delphi application similar to Taskbar Shuffle that includes a hook dll.
EDIT: This hook DLL communicates with the main app by sending windows messages.
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).
Is it possible for a 32-bit application to access a 64-bit dll?
EDIT2: 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.