org.jawin.COMException: 8000ffff: NULL GIT peer
at org.jawin.marshal.GenericStub.dispatchInvoke0(Native Method)
at org.jawin.marshal.GenericStub.dispatchInvoke(GenericStub.java:201)
at org.jawin.DispatchPtr.invokeN(DispatchPtr.java:587)
at org.jawin.DispatchPtr.invokeN(DispatchPtr.java:555)
at test3._DGisSeat.OcxTest(_DGisSeat.java:231)
at test3.Test.<init>(Test.java:38)
at test3.Test.main(Test.java:45)
Exception in thread "main" /*
* 创建日期 2005-8-1
*
* TODO 要更改此生成的文件的模板,请转至
* 窗口 - 首选项 - Java - 代码样式 - 代码模板
*/
package test3;import org.jawin.COMException;
import org.jawin.DispatchPtr;/**
* @author user
*
* TODO 要更改此生成的类型注释的模板,请转至
* 窗口 - 首选项 - Java - 代码样式 - 代码模板
*/
public class Test
{
public Test() throws COMException
{
_DGisSeat d = new _DGisSeat();
short i = d.OcxTest();
System.out.println( i + " iiiiii");
}
public static void main( String []args) throws COMException
{
Test t = new Test();
}
}
package test3;import org.jawin.*;import org.jawin.constants.*;import org.jawin.marshal.*;import org.jawin.io.*;import java.io.*;import java.util.Date;
public class _DGisSeat extends DispatchPtr { public static final GUID DIID = new GUID("{854de4f8-61da-4465-93A9-23E9734351F8}"); public static final int IID_TOKEN; static { IID_TOKEN = IdentityManager.registerProxy(DIID, _DGisSeat.class); }
public _DGisSeat() { super(); }
public _DGisSeat(String progid) throws COMException { super(progid, DIID); }
public _DGisSeat(GUID clsid) throws COMException { super(clsid, DIID); }
public _DGisSeat(COMPtr comObject) throws COMException { super(comObject); } public int getIIDToken() { return IID_TOKEN; } public int InitSocket() throws COMException { return ((Integer)invokeN("InitSocket", new Object[] {})).intValue(); }
public int SendInfo(String strSendInfo) throws COMException { return ((Integer)invokeN("SendInfo", new Object[] {strSendInfo})).intValue(); } public int CloseSocket() throws COMException { return ((Integer)invokeN("CloseSocket", new Object[] {})).intValue(); } public short OcxTest() throws COMException { return ((Short)invokeN("OcxTest", new Object[] {})).shortValue(); } public void AboutBox() throws COMException { invokeN("AboutBox", new Object[] {}); }}
at org.jawin.marshal.GenericStub.dispatchInvoke0(Native Method)
at org.jawin.marshal.GenericStub.dispatchInvoke(GenericStub.java:201)
at org.jawin.DispatchPtr.invokeN(DispatchPtr.java:587)
at org.jawin.DispatchPtr.invokeN(DispatchPtr.java:555)
at test3._DGisSeat.OcxTest(_DGisSeat.java:231)
at test3.Test.<init>(Test.java:38)
at test3.Test.main(Test.java:45)
Exception in thread "main" /*
* 创建日期 2005-8-1
*
* TODO 要更改此生成的文件的模板,请转至
* 窗口 - 首选项 - Java - 代码样式 - 代码模板
*/
package test3;import org.jawin.COMException;
import org.jawin.DispatchPtr;/**
* @author user
*
* TODO 要更改此生成的类型注释的模板,请转至
* 窗口 - 首选项 - Java - 代码样式 - 代码模板
*/
public class Test
{
public Test() throws COMException
{
_DGisSeat d = new _DGisSeat();
short i = d.OcxTest();
System.out.println( i + " iiiiii");
}
public static void main( String []args) throws COMException
{
Test t = new Test();
}
}
package test3;import org.jawin.*;import org.jawin.constants.*;import org.jawin.marshal.*;import org.jawin.io.*;import java.io.*;import java.util.Date;
public class _DGisSeat extends DispatchPtr { public static final GUID DIID = new GUID("{854de4f8-61da-4465-93A9-23E9734351F8}"); public static final int IID_TOKEN; static { IID_TOKEN = IdentityManager.registerProxy(DIID, _DGisSeat.class); }
public _DGisSeat() { super(); }
public _DGisSeat(String progid) throws COMException { super(progid, DIID); }
public _DGisSeat(GUID clsid) throws COMException { super(clsid, DIID); }
public _DGisSeat(COMPtr comObject) throws COMException { super(comObject); } public int getIIDToken() { return IID_TOKEN; } public int InitSocket() throws COMException { return ((Integer)invokeN("InitSocket", new Object[] {})).intValue(); }
public int SendInfo(String strSendInfo) throws COMException { return ((Integer)invokeN("SendInfo", new Object[] {strSendInfo})).intValue(); } public int CloseSocket() throws COMException { return ((Integer)invokeN("CloseSocket", new Object[] {})).intValue(); } public short OcxTest() throws COMException { return ((Short)invokeN("OcxTest", new Object[] {})).shortValue(); } public void AboutBox() throws COMException { invokeN("AboutBox", new Object[] {}); }}
解决方案 »
- java如何得到任意三角形形状的shape来构造Area(java.awt.geom.Area)
- 求一正则表达式,能正确的找出下面的文字所在方位
- TextBox有几个事件,属性,方法。各有什么作用啊
- Buffer类的介绍
- 我想问一下怎么样在Swing中JLabel组件获取数据库中存放的图像?
- 如何用java实现进程的同步与等待?
- 高分求助,急,在线等
- java.io包里面的许多类建立后不调用close()方法 会产生什么后果
- 請問誰有jdk1.4的類庫參考的電子書?
- JTextArea的问题_高分有送!!!谢谢!!!
- 怎么在JAVA中调用VC++ OCX控件?(100分)
- String str = "abc";与String str;str = "abc";有效能差距吗
ocx是什么?