Re: jawin.COMException: 8000ffff: CoCreateInstance

Bob Farnik <[email protected]> Wed, 18 Jan 2006 07:40:31 -0500
Newsgroups gmane.comp.windows.devel.jawin
Message-ID <LISTSERV%[email protected]>
Hi Sean,
thanks for this extensive comments.
1. I am almost sure the CLSID in my stubs are not changing. The IDs used are:

package BSCFunctions;

import com.develop.jawin.*;

public interface CBSCFunctions {
    public static final GUID clsID = new
GUID("{64A5179C-AF3B-4E6B-A09E-F4B7EFA0EE00}");
    public static final String progID = new
String("CBSCFunctions_NET.CBSCFunctions");
}

What is confusing me a bit is, why Tomcat report is reporting it as:
com.develop.jawin.COMException: 8000ffff: CoCreateInstance for
"{64a5179c-ffffaf3b-4e6b-a09e-f4b7efa0ee00}" failed
(note extra ffff in the second token).

2. I haven't tried it yet - I am calling it from JSP using <jsp:useBean ...>

3. I am always logged as an Administrator

4. I have created the simpleVB program and indeed I could not create the
object neither with the clsID nor with progID above. So, primarily, the
problem really seem to be in registry info for BSCFunctions. I will try to
clean it up and register again with regasm.

Cheers,
Bob