[Bug 53542] Hog4PC 3.17 installer VBScript custom action needs IWshShell::Run to return signed type.

WineHQ Bugzilla wine-bugs at winehq.org
Fri Aug 12 04:36:07 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=53542

--- Comment #6 from Nikolay Sivov <bunglehead at gmail.com> ---
(In reply to Robert Wilhelm from comment #4)
> (In reply to Nikolay Sivov from comment #3)
> > There's also two methods in IWshExec that need the same DWORD -> long (int)
> > change.
> 
> I noticed this, too.
> 
> I can send patch for WshExec_get_ProcessID after current MR went in.
> 
> I am not sure what to do with WshExec_get_ExitCode, as it is currently not
> implemented.
> I could just change interface (DWORD to long) or implement the function
> using GetExitCodeProcess().

It's fine to fix the interface first.


I tried to test typeinfo quickly with ITypeInfo on WshShell, and there is
something else going on. On Wine I get whole set of inherited methods from
GetFuncDesc(), i.e. GetFuncDesc(0) return QueryInterface. While on Windows it
returns 0 index for IWshShell3 (id 0xbc4). Not sure what's happening, if it's a
problem with definition, typelib generation, or typelib API.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list