Best way to call 32-bit unmanaged code from 64-bit Managed Code using a managed code wrapper
- 阅读更多 关于 Best way to call 32-bit unmanaged code from 64-bit Managed Code using a managed code wrapper
问题 The frequency with which I am coming across the situation where I have to call native 32-bit code from a managed 64-bit process is increasing as 64-bit machines and applications become prevalent. I don't want to mark my applciation as 32-bit and I cannot obtain 64-bit versions of of the code that is being calling. The solution that I currently use is to create C++ COM shims that are loaded out of process to make the 32-bit calls from the 64-bit process. This COM shim solution works well and