I\'m calling functions from a 32-bit unmanaged DLL on a 64-bit system. What I get is:
BadImageFormatException: An attempt was made to load a program w
We had a similar issue and we managed to fix it by setting the Platform target to x86.