64 bit build can not run 32 bit dll

Hello. I am try lo load 32 bit native c++ dll into 64 bit build. I havent got our 32 bit dll’s 64 bit version. I use loadlibrary method for calling dll. On the other hand i can successfully load 32 bit dll ( into plugin folder ) with 32 bit build. The 64 bit build can not load.

Is there any workaround for this issue or should i need 64 bit version of my dll’s

Ps: dll is native c++ and unity version is 2018.

Best regards.

Its not directly possible.

https://support.microsoft.com/en-gb/help/282423/list-of-limitations-in-64-bit-windows

This is a well-known issue in the audio plugin world; 32-bit plugins (.dll files) dont run in 64-bit host programs and vice versa unless ‘bit-bridging’ is implemented in the host. Bit-bridging would typically load the 32-bit plugin into a separately running ‘hidden’ 32-bit host process and pass calls and data to and from the 64-bit host.

3 Likes

thanks a lot for the informations. links perfect :slight_smile: