Hi ashishgauswami,
thanks a lot for your kind help. I already started playing around with the API...
The code compiled fine:
CODE
import skypeAPILib.*;
import com.ibm.bridge2java.*;
public class SkypeTest
{
public static void main(String[] args)
{
try
{
OleEnvironment.Initialize();
Access a = new Access();
a.Connect();
//the class that implements _IAccessEvents
IAccessEvents listener = new IAccessEvents();
a.add_IAccessEventsListener(listener);
}
catch (Exception e)
{
e.printStackTrace();
}
}
}
Yet I get a nasty runtime error when calling the default constructor of Access:
CODE
com.ibm.bridge2java.ComException
at com.ibm.bridge2java.Dispatch.CreateObjectB2J(Native Method)
at com.ibm.bridge2java.Dispatch.<init>(Dispatch.java:39)
at skypeAPILib.IAccess.<init>(IAccess.java:16)
at skypeAPILib.Access.<init>(Access.java:11)
at SkypeTest.main(SkypeCrawler.java:23)
Do you have an idea how to solve this problem?
Thanks again for your offer to help!
- cyberindy