Can I load a 32 bit DLL into a 64 bit process on Windows?
Posted
by Lee
on Stack Overflow
See other posts from Stack Overflow
or by Lee
Published on 2008-10-22T10:25:29Z
Indexed on
2010/06/10
13:32 UTC
Read the original article
Hit count: 157
I recently upgraded a c# windows service to run as a 64 bit .net process. Normally, this would be trivial, but the system makes use of a 32-bit DLL written in C++. It is not an option to convert this DLL to 64 bit, so I wrapped the DLL in a separate 32 bit .net process and exposed a .net interface via remoting.
This is quite a reliable solution, but I would prefer to run the system as a single process. Is there any way I can load my 32 bit DLL into a 64 bit process and access it directly (perhaps through some sort of thunking layer)?
© Stack Overflow or respective owner