jacob-project icon indicating copy to clipboard operation
jacob-project copied to clipboard

Is it possible to use JACOB with 64-bit Java, with a COM Surrogate for a 32-bit dll?

Open jsbiff opened this issue 1 year ago • 0 comments

I have a Java app that currently is setup to run with 32-bit Java, and it uses JACOB to load and interact with a 32-bit dll (an OCX dll).

We want to migrate to 64-bit Java, and the dll vendor suggested we might be able to continue to use the 32-bit dll via a technology on Windows called a COM Surrogate (which apparently is basically a separate, 32-bit process in which the dll runs, but then the 64-bit applications can use it like an in-process dll, via some automatic interprocess communication stuff that Windows supports).

I'm wondering if this is possible to get working with JACOB, so that JACOB accesses the dll via the surrogate?

jsbiff avatar Mar 26 '25 14:03 jsbiff