I'm trying to use JACOB (1.14.3) on a Windows 2003 Server - 64 bit.
When running, I get following error: com.jacob.com.ComFailException: Can't co-create object
If I run the dependency walker, I see that it gives an error on the MSJAVA.DLL which can only be found for 32bits...
Anyone has an idea how I can get this working on Win2003 - 64 bit ? or how this dependency to MSJava.dll can be removed..?
Other ideas about how to detect what co-creation is going wrong is also very much appreciated.
Thanks in advance,
Is MSJAVA.DLL a microsoft library or a sun library?
Do you have the 64 bit JDK installed? 64 bit OS can run either 32 bit or 64 bit Java VMs.
Hi,I tell you the same mistake, don't know you been solved
com.jacob.com.ComFailException: Can't co-create object
at com.jacob.com.Dispatch.createInstanceNative(Native Method)
you are calling a 32bit COM object from a 64bit environment. this is not possible because Jacob can't find the object
Some libraries are only 32 bit.
I can't remember if you can override the 64 bit JVM to use the 32 bit JNI dll in place of the default 64 bit JNI dll. I think this was discussed somewhere else.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.