jscript: Added ActiveXObject constructor implementation.
diff --git a/dlls/jscript/error.c b/dlls/jscript/error.c
index 91bc95a..9530a4c 100644
--- a/dlls/jscript/error.c
+++ b/dlls/jscript/error.c
@@ -429,6 +429,11 @@
return throw_error(ctx, ei, id, str, ctx->eval_error_constr);
}
+HRESULT throw_generic_error(script_ctx_t *ctx, jsexcept_t *ei, UINT id, const WCHAR *str)
+{
+ return throw_error(ctx, ei, id, str, ctx->error_constr);
+}
+
HRESULT throw_range_error(script_ctx_t *ctx, jsexcept_t *ei, UINT id, const WCHAR *str)
{
return throw_error(ctx, ei, id, str, ctx->range_error_constr);