无法共同创建对象 [英] Can't co-create object

查看:78
本文介绍了无法共同创建对象的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在.net中制作了一个dll,并使用jacob.java从Java程序中调用了该文件.因为昨天我安装了Windows 7 32位操作系统,所以程序成功运行.现在我格式化并安装了Windows 7 64位操作系统./p>

i made a dll in .net and call that from java program using jacob.since yesterday i have windows 7 32 bit os so program run successfully.now i formated and install windows 7 64 bit os.so following error encounter:

com.jacob.com.ComFailException: Can't co-create object
    at com.jacob.com.Dispatch.createInstance(Native Method)
    at com.jacob.com.Dispatch.<init>(Dispatch.java)
    at com.jacob.activeX.ActiveXComponent.<init>(ActiveXComponent.java)
    at product.Control_product.main(Control_product.java:21)

注册所有dll文件,但发生错误.

Register all the dll files but the error is occured.

推荐答案

错误已解决.将相同的jacob.dll和jacob.jar放入服务器的\ lib文件夹,jdk bin和lib文件夹

Error is solved.put the same jacob.dll and jacob.jar in the server \lib folder,jdk bin and lib folder

这篇关于无法共同创建对象的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆