Vbscript code has ExecuteGlobal, Eval or Execute disabled

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Soumy
Newbie
Newbie
Posts: 2
Joined: Wed May 23, 2018 1:09 am

Vbscript code has ExecuteGlobal, Eval or Execute disabled

Post by Soumy »

Hi All,

I was going through the vbscript code and I found this:

dlls/vbscript/global.c

static HRESULT Global_Eval(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
{
FIXME("\n");
return E_NOTIMPL;
}

static HRESULT Global_Execute(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
{
FIXME("\n");
return E_NOTIMPL;
}

static HRESULT Global_ExecuteGlobal(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
{
FIXME("\n");
return E_NOTIMPL;
}

static HRESULT Global_GetRef(vbdisp_t *This, VARIANT *arg, unsigned args_cnt, VARIANT *res)
{
FIXME("\n");
return E_NOTIMPL;
}

All these are disabled on vbscript.dll. However when I try to use these keywords on wscript.exe they work. How does that happen?

Regards,
Soumy
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Vbscript code has ExecuteGlobal, Eval or Execute disable

Post by DarkShadow44 »

They aren't disabled, they are stubbed. Or maybe you're using native vbscript?
Soumy
Newbie
Newbie
Posts: 2
Joined: Wed May 23, 2018 1:09 am

Re: Vbscript code has ExecuteGlobal, Eval or Execute disable

Post by Soumy »

Can you please indicate where those stub implementations are?

Regards,
Soumy
User avatar
DarkShadow44
Level 8
Level 8
Posts: 1207
Joined: Tue Nov 22, 2016 5:39 pm

Re: Vbscript code has ExecuteGlobal, Eval or Execute disable

Post by DarkShadow44 »

Soumy wrote:Can you please indicate where those stub implementations are?
What do you mean? You already posted them in the first post.
Locked