https://blog.mattmags.com/2007/06/30/accessing-32-bit-dlls-from-64-bit-code/
Basically the technique is to use IPC (Interprocess communication) between a 64 bits app and a 32 bits app:
The following IPC mechanisms are supported by Windows:
Clipboard
COM
Data Copy
DDE
File Mapping
Mailslots
Pipes
RPC
Windows Sockets
https://msdn.microsoft.com/en-us/library/aa365574.aspx?f=255&MSPPError=-2147217396
From all of them, the WM_COPYDATA seems the simplest way to go
SendMessage( hWndToReceiveTheMessage, WM_COPYDATA, hWndSender, pPointerToACOPYDATASTRUCT structure ) --> value returned from hWndToReceiveTheMessage