org.jawin.COMException: 8002802b: Element not found.

Roy Collins <[email protected]>
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <001d01c534a1$78fb95e0$6702a8c0@royworld>
I am still having some problems with this COM exception.  I have created the
stubs from typebrowser and able to compile everything  When the app is run I
instantiate the object without problem but as soon as I call any method the
COM exception occurs.  it is during the invokeN()  method call. What are the
common problems that might result in this error?  From the Element not found
it seems as though it can not find the library file, the .dll.  I have made
sure that the file is on the class path and I even copied it into the same
directory.  Of course it should be referencing the COM entry in the
registry, right? Is there a way I can verify that the library is found if
that is what the problem seems to be.  I tried calling many differnt methods
to be sure that there wasnt an error with just one method but all resulted
in the same exception.  Anyone have any ideas how to resolve this.

The generated stub looks like this:

public void OpenConnection(String appID,String appName) throws COMException

{

invokeN("OpenConnection", new Object[] {appID, appName});


}

The API/SDK concurs saying the method should be of the same form. Any
suggestions?  thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.