How to use a 32-bit COM object from a 64-bit process?

I am using Jacob (JAVA COM Bridge) on a 64-bit machine and want to load COM objects from a 32-bit DLL. How can i do this?

+1
source share
2 answers

I solved the problem as follows: I created a small 32-bit COM server outside the process (.exe), which serves as a factory COM object to create the necessary 32-bit objects. So, now my application runs on 64 bits and uses 32-bit COM objects.

My64bitApp ↔ 32BitOutOfProcFactory ↔ 32bitCOMServerDLL

0
source

32- COM- 32- . , 32-, COM- COM + .

+1

Source: https://habr.com/ru/post/1784564/


All Articles