[Bug 56280] New: vbscript: String coerced to Integer instead of Long?
https://bugs.winehq.org/show_bug.cgi?id=56280 Bug ID: 56280 Summary: vbscript: String coerced to Integer instead of Long? Product: Wine Version: 9.0 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: vbscript Assignee: wine-bugs(a)winehq.org Reporter: francisdb(a)gmail.com Distribution: ---
cat test.vbs Dim a, b a = "5592325" b = (a AND 15) * 515 WScript.Echo "test: " & b
wine --version wine-9.0
wine cscript test.vbs 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005 010c:fixme:wscript:ActiveScriptSite_OnScriptError ()
And on windows
cscript .\test.vbs Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved.
test: 2575 I do wonder why wine cscript does not log more info on the error. From an other application I think I got VBSE_OVERFLOW. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=56280 Nikolay Sivov <bunglehead(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Component|vbscript |oleaut32 Status|UNCONFIRMED |NEW --- Comment #1 from Nikolay Sivov <bunglehead(a)gmail.com> --- We are using VarAnd() for this, and it's broken for (VT_BSTR,VT_I2) input apparently - it defaults to I2 result, which is wrong. String argument handling does not look right in general for this function. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=56280 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://gitlab.winehq.org/w | |ine/wine-staging/-/tree/mas | |ter/patches/oleaut32_VarAdd CC| |leslie_alistair(a)hotmail.com -- 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.
http://bugs.winehq.org/show_bug.cgi?id=56280 Ken Sharp <imwellcushtymelike(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase -- 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.
http://bugs.winehq.org/show_bug.cgi?id=56280 Maotong Zhang <zmtong1988(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zmtong1988(a)gmail.com --- Comment #2 from Maotong Zhang <zmtong1988(a)gmail.com> --- https://gitlab.winehq.org/wine/wine/-/merge_requests/8635 -- 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.
participants (1)
-
WineHQ Bugzilla