You cannot do this directly in the application.
Your best option is to get a 64-bit version of the library.
If you cannot do this, you can create a separate 32-bit application that acts as an intermediary between your main program and the library, using sockets or channels for communication.
source share