I have a managed application (Any CPU) which is a windows form application josting an ActiveX control. The ActiveX control is written in MFC and is compiled for both x86 (32 bit) and x64 (64 bit). When I run up the program, process Explorer shows the following:
Type Handle or DLL
WindowsFormApplication1.exe 4004 DLL D:\Development\64Bit\TheAxControl.ocx
WindowsFormApplication1.exe 4004 DLL D:\Development\32Bit\TheAxControl.ocx
WindowsFormApplication1.exe 4004 Handle D:\Development\64Bit\TheAxControl.ocx
The same thing happens for targeted x86 and x64 builds. Now, I have read that 32 bit in-process DLLs cannot be loaded into 64 bit processes and vice-a-versa (let's call this paradigm A). That they should meet at a process boundary with some sort of IPC.
View Complete Post