[Git][wine/wine][master] vbscript: Convert VT_DISPATCH arguments to string in Eval/Execute/ExecuteGlobal.
Alexandre Julliard pushed to branch master at wine / wine Commits: 3c7e8e6b by Francis De Brabandere at 2026-04-20T20:39:17+02:00 vbscript: Convert VT_DISPATCH arguments to string in Eval/Execute/ExecuteGlobal. For VT_DISPATCH arguments, call the object's default property (DISPID_VALUE) to get a string value instead of returning the object via VariantCopy (Eval) or returning type mismatch (Execute/ ExecuteGlobal). This matches Windows behavior where passing a dispatch object without a default property fails with error 438, and objects with a default property have it invoked to obtain the string to evaluate or execute. - - - - - 2 changed files: - dlls/vbscript/global.c - dlls/vbscript/tests/lang.vbs View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/3c7e8e6bc52839816aea007ae62daac... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/3c7e8e6bc52839816aea007ae62daac... You're receiving this email because of your account on gitlab.winehq.org. Manage all notifications: https://gitlab.winehq.org/-/profile/notifications | Help: https://gitlab.winehq.org/help
participants (1)
-
Alexandre Julliard (@julliard)