You need to run the ActiveX control in a separate 32-bit process. It will be difficult, it will have its own window, which will not be part of the user interface of your 64-bit process. Although this is explicitly prohibited by the SDK docs, you can try using the Windows 3 application built into the SetParent () API function. It might work.
You will have many additional problems, the connection between the processes is quite complicated (you will need Remoting or WCF), the hard part deals with exceptions. One bombardment process from another survives and never notices that something is wrong, will not be beautiful.
Perhaps the Target Target option is starting to seem attractive?
source share