My developing environment: win xp sp2, eclipse 3.0, jdk1.5, jawin 2.0 alpha.
1) I had turn a dll file named on "CMailCOM.dll" into six *.java file using jawin type browser. I was puzzled that the conversions were suuceeded just one time, even if the dll file was any another.
2) I had imported the six *.java file into my project in eclipse. And created a class named on
signup including main method.
package sample;
import Cmail.IAdmin;
----- one java file of the six *.java file
/**
* @author alamo_
*
*/
public class signup {
public static void main(String args[]) throws Exception
{
IAdmin admin = new IAdmin();
admin.Signup("aaa:192.168.2.33");
}
}
the Signup method in IAdmin class is here:
/**
* @param bsUser
* @return void
**/
public void Signup(String bsUser) throws COMException
{
invokeN("Signup", new Object[] {bsUser});
}
When i run the
signup clsaa, a exception is occured:
Exception in thread "main" 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 Cmail.IAdmin.Signup(IAdmin.java:317)
at sample.signup.main(signup.java:21)
Can you help me?
George