Acessing ActiveX Component / Library not registered
-
Hi there, I've some problems accessing my ActiveX control from a VBScript/JScript. The control can be successfully initialized an acessed via the
tag. The problem is, that I've to retrieve additional objects/interfaces from the control, which are all defined in the typelib embedded in the control. This likes somehow like this: var ObjInst = new Object; // returns another IDispatch interface of an internal object ObjInst = Control.GetInstance(); // creates a "Library not registered" error ObjInst.Method(); Because everythings working fine from CPP/VB when compiling, I would like to know, whether I have to register the typelib somehow in the html code or somewhere else, or whatever may cause this error. I can view the typelib in the OLE viewer supplied with visual studio, so the registration can't be that faulty in my opinion. My thaughts were, that acessing a reference to a IDispatch interface should be generally no problem in JScript/VBScript. Thanks for any suggestions. Florian