Need help to write a COM component which should be accessible from JScript!
-
Hi, Can I get any sample of how to write a COM component which should be accessible from JScript. Actually , I am able to write a normal COM (InProc) component and able to invoke from other c++ client. But while trying the same from JScript , unable to invoke it. I am getting error like automation server cannot create object etc. Thx, --Gopi
-
Hi, Can I get any sample of how to write a COM component which should be accessible from JScript. Actually , I am able to write a normal COM (InProc) component and able to invoke from other c++ client. But while trying the same from JScript , unable to invoke it. I am getting error like automation server cannot create object etc. Thx, --Gopi
COM-component must be inherited from IDispatch
-
Hi, Can I get any sample of how to write a COM component which should be accessible from JScript. Actually , I am able to write a normal COM (InProc) component and able to invoke from other c++ client. But while trying the same from JScript , unable to invoke it. I am getting error like automation server cannot create object etc. Thx, --Gopi
As mentioned by cariolihome only interface inherited from
IDispatch
can be access by scripting clients. Additionally, only the default interface marked in the IDL using the[default]
attribute insidecoclass
can be accessed by scripting clients.«_Superman_» I love work. It gives me something to do between weekends.
Microsoft MVP (Visual C++)