https://bugs.winehq.org/show_bug.cgi?id=44474
Bug ID: 44474 Summary: Script fails to Run function GetStringValue Product: Wine Version: 3.1 Hardware: x86 OS: Linux Status: NEW Severity: normal Priority: P2 Component: wmi&wbemprox Assignee: wine-bugs@winehq.org Reporter: leslie_alistair@hotmail.com Distribution: ---
Created attachment 60423 --> https://bugs.winehq.org/attachment.cgi?id=60423 Sample VB Script.
Run using the following.
wine wscript GetObject.vbs
This cause an error message to appear. Object doesn't support this property or method 'oReg.GetStringValue'
https://bugs.winehq.org/show_bug.cgi?id=44474
--- Comment #1 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Created attachment 60424 --> https://bugs.winehq.org/attachment.cgi?id=60424 +wbemdisp,wbemprox,msgbox
I added a trace line to get_member_dispid, which shows that no members where mapped for this object.
00a7:trace:wbemdisp:get_member_dispid L"GetStringValue". 0
https://bugs.winehq.org/show_bug.cgi?id=44474
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
https://bugs.winehq.org/show_bug.cgi?id=44474
--- Comment #2 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Created attachment 62056 --> https://bugs.winehq.org/attachment.cgi?id=62056 patch with sample code.
https://bugs.winehq.org/show_bug.cgi?id=44474
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, source
https://bugs.winehq.org/show_bug.cgi?id=44474
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |6db5a3a11ff26856a4ed8df3b64 | |d1a21d53eb610 Resolution|--- |FIXED
--- Comment #3 from Hans Leidekker hans@meelstraat.net --- This is fixed with 6db5a3a11ff26856a4ed8df3b64d1a21d53eb610. Next bug is missing Invoke support for WMI object methods.
https://bugs.winehq.org/show_bug.cgi?id=44474
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.18.