开发者

Variable uses an Automation type not supported in JScript

开发者 https://www.devze.com 2023-03-16 15:19 出处:网络
I have a simple asp page: <%@ LANGUAGE = JScript %> <% var app = new ActiveXObject(\"MyComponent\");

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

精彩评论

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

关注公众号