How do I use a 32 Bit COM object from a 64 bit process?

前端 未结 2 505
情深已故
情深已故 2021-01-16 05:40

I Use Jacob (JAVA COM Bridge) on a 64 Bit Machine and want to load COM Objects from a 32 bit DLL. How can I do that?

2条回答
  •  无人及你
    2021-01-16 06:12

    I solved the problem as follows: Created a small 32 bit out-of-process COM server (.exe) that serves as a factory COM object to create the needed 32 bit objects. So now my app is running 64bit and using 32 bit COM objects.

    My64bitApp<-->32BitOutOfProcFactory<-->32bitCOMServerDLL

提交回复
热议问题