#102 Calling 32b COM libraries from a 64b Jvm

open
nobody
None
5
2011-11-01
2011-11-01
No

I got the following error message when I try to call a 32b COM library from a 64b Java Virtual machine.

Caused by: com.jacob.com.ComFailException: Can't co-create object
at com.jacob.com.Dispatch.createInstanceNative(Native Method)
at com.jacob.com.Dispatch.<init>(Dispatch.java:99)

Would it be possible to fix?

Discussion

  • serkan
    serkan
    2011-11-01

    As far as I know this is not possible. I tried this in a project that I wrote the com access code myself (as a JNI lib) and it failed.