Click to See Complete Forum and Search --> : calling ATL component from JS


reachb4
June 2nd, 2009, 11:25 PM
I've created an atl component in VC++ with aggregation support. Project built fine and registered successfully. But the problem is that I can't call the functions of this dll from JS. The call to create the component using

fso = new ActiveXObject("CKIEComponent.IMyComp");
alert("test");

is failing...The alert is not getting executed.

Please advice.

Regards,
Jon

PeejAvery
June 3rd, 2009, 09:07 AM
Have you tried to enable script debugging and seeing if your fso line gives an error?