开发者

Variable uses an Automation type not supported in JScript

I have a simple asp page:

<%@ LANGUAGE = JScript %>

<%
    var app = new ActiveXObject("MyComponent");

    var out1 = { };
    var out2 = { };

   app.GetVersion(out1, out2);
%>

'MyComponent' is a DCOM object with the following definition:

inte开发者_运维问答rface IMyComponent : IDispatch
{ 
    HRESULT GetVersion([out, string] char**, [out] int*);
}

While executing GetVresion function I get error "Microsoft JScript runtime error: Variable uses an Automation type not supported in JScript". How I can fix it?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜