32 bit dll importing in 64 bit .Net application

Posted by scatterbraiin on Stack Overflow See other posts from Stack Overflow or by scatterbraiin
Published on 2010-06-14T11:55:25Z Indexed on 2010/06/14 12:42 UTC
Read the original article Hit count: 464

Filed under:
|

hello i'm having a problem, i try to solve it since yesterday but no luck. i have 32 bit delphi dll which i want to import in .NET Win Application. this application has to be built on ANY CPU mode. of course, there's BadImageFormatException coming, which means that in x64 application can't be loaded x86 dll.. i googled around and find solution, it said i have to do wrapper, but it wasn't clear for me. can anybody tell how to solve this problem, is there any possible way i can import 32bit Delphi dll in program builted Any CPU or x64 mode(maybe another solution).

© Stack Overflow or respective owner

Related posts about c#

Related posts about 32bit-64bit