Hi all,
Could anybody tell me how to handle IDispatch passing
to COM method created by ATL?
### JScript ###
var x = [ "item 1", "item 2", "item 3" ];
oActiveX.myMethod(x);
### COM ###
myMethod(VARIANT x)
{
if( x.vt = VT_IDISPATCH )
{
IDispatch *pDispatch = x.pdispVal...
There is an HTML written for IE.
There is an JScript code in the HTML.
The JScript code use an ActiveX written with ATL.
Can the ActiveX use IE object like "window", "document", etc. of the HTML?
And how?
Please show me a sample code.
Thank you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.