Hi degor,
Yes, you are right. I did slip up with the name.
ActiveXXX progie from Moon Valley software
( http://activex.moonvalley.com/samples/activex.zip )
gives the following info about ParallelGraphics Cortona Control:
{86A88967-7A20-11d2-8EDA-00600818EDB1}
Cortona.Control.1
C:\Program Files\Common Files\ParallelGraphics\Cortona\cortona_control.dll
So substituting "Cortona.Control.1" for my mistake now
produces a similar but new error. So I think there is
still a problem with the way Cortona Control is registered
as an ActiveX object.
The new error:
C:\eclipseVRML\java_src_bxx>java -classpath SWTcortona.zip AppLoader
createContents()
org.eclipse.swt.SWTException: Failed to create Ole Client. result = -2147418113
at org.eclipse.swt.ole.win32.OLE.error(OLE.java:302)
at org.eclipse.swt.ole.win32.OleControlSite.<init>(OleControlSite.java:1
00)
at AppGraph.createContents(AppGraph.java:39)
at org.eclipse.jface.window.Window.create(Window.java:356)
at org.eclipse.jface.window.Window.open(Window.java:661)
at AppGraphT.run(AppGraphT.java:19)
I think there is a some problem with the way Cortona.Cortona.1 is registered as ActiveX Object.
Cortona is not registered as "Cortona.Cortona.1". It is registered as "Cortona.Control".
The Java error:
org.eclipse.swt.SWTException: Class ID not found in registry result = -21472
And the error message says just that:
"there is no Cortona.Cortona.1 class id in the registry".