Alexandre Julliard pushed to branch master at wine / wine Commits: 19d10143 by Francis De Brabandere at 2026-05-18T21:58:30+02:00 vbscript/tests: Add tests for And/Or/Imp with BSTR operands. - - - - - 475919b9 by Francis De Brabandere at 2026-05-18T21:58:30+02:00 vbscript: Coerce BSTR operands of And/Or/Imp to number-or-Boolean. Native VarXor already converts a BSTR operand to VT_I4 when it parses as a number, falling back to VT_BOOL otherwise; VarAnd, VarOr and VarImp do not. That left expressions like ""1"" And ""2"" producing Boolean[True] in Wine instead of native's Long[0]. Apply the same coercion in interp_and / interp_or / interp_imp before calling oleaut32 so the bitwise result type matches. - - - - - 2 changed files: - dlls/vbscript/interp.c - dlls/vbscript/tests/lang.vbs View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/a7284ee60617edae379baefbb41332... -- View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/a7284ee60617edae379baefbb41332... 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