Exception in thread "main" com.jacob.com.ComFailException: Invoke of: Open
Source:
Description:
at com.jacob.com.Dispatch.invokev(Native Method)
at com.jacob.com.Dispatch.invokev(Dispatch.java:625)
at com.jacob.com.Dispatch.callN(Dispatch.java:453)
at com.jacob.activeX.ActiveXComponent.invoke(ActiveXComponent.java:476)
at com.jacob.activeX.ActiveXComponent.invokeGetComponent(ActiveXComponent.java:391)
错误代码如下:
这是调用部分代码
PPTUtils.init("d:\\group.ppt");
这是实现部分代码
Variant aa = new Variant(path);
presentation = presentations.invokeGetComponent("Open",aa);
文件也有~但是就是总出现以上问题 求赐教~
网上都说什么资源文件不存在什么的 我的文件确实存在