Question : How to call a 32 bit DLL from a 64 bit application.

I know its not possible to call a 32 bit DLL directly from a 64 bit app. But I wondered if it was possible with .NET remoting.

I have a legacy C++ DLL which would take months to rewrite. So I want to leave that in 32 bit and write a wrapper in .NET 32 bit which can then be called from a 64 bit .NET Application, so the calling stack would look like this:

    64 bit app > .net Remoting > 32 bit wrapper > 32 bit C++ dll

Is this possible and if so what would the .NET remoting calls look like in VB.NET

I am working with VB.NET 2.0

thanks

Answer : How to call a 32 bit DLL from a 64 bit application.

Random Solutions  
 
programming4us programming4us