Jawin @ COM Interop
Bob Farnik <[email protected]> Wed, 1 Mar 2006 08:45:45 -0500
| Newsgroups | gmane.comp.windows.devel.jawin |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
HI,
I am calling my .net assembly DLL, which is properly registered for COM
interop from Tomcat 5.5 JSP and JavaBean through jawin 1.2.
The DLL is registered properly and cI can access its classes, interfaces and
methods from my VB6 test.
Invoking it with jawin however is giving an error:
jcom.develop.jawin.COMException: 8000ffff: CoCreateInstance for
"{64a5179c-ffffaf3b-4e6b-a09e-f4b7efa0ee00}" failed
com.develop.jawin.win32.Ole32.CoCreateInstance(Ole32.java:143)
com.develop.jawin.win32.Ole32.GetFromProgID(Ole32.java:90)
com.develop.jawin.DispatchPtr.<init>(DispatchPtr.java:70)
BSCFunctions.IBSCFunctions.<init>(IBSCFunctions.java:38)
What is strange is, that thet the class UUID in registry and in the jawin
stub (generated from my component TLB) is actually:
64a5179c-af3b-4e6b-a09e-f4b7efa0ee00
I believe it's failing in the following code generated with jcomgen from my TLB:
/**
* Creates IBSCFunctions Object with CLSID
*/
public IBSCFunctions(GUID ClsID) throws COMException {
super(ClsID);
}
Anybody knows why this is happening or has an experience with jawin and .NET
COM Interop?
Thanks,
Bob