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[] {});            }}