[Bug 14703] New: Null character comparison problem in vb6 application
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Jul 31 08:04:33 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=14703
Summary: Null character comparison problem in vb6 application
Product: Wine
Version: 1.1.2
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: oleaut32
AssignedTo: wine-bugs at winehq.org
ReportedBy: gabmoa at yahoo.it
Created an attachment (id=15189)
--> (http://bugs.winehq.org/attachment.cgi?id=15189)
simple vb6 chr0 comparison project
I've found a BIG problem in VB6 string (BSTR) comparison.
The VB6 program perform this very simple check. In Windows s is different from
chr$(0) (null char) but in wine NOT!
s = ""
If s = Chr$(0) Then MsgBox "ERROR, MUST NOT BE EQUAL!!!" Else MsgBox "OK!"
[see attachment]
This is a major bug, since chr$(0) is used in many ways in vb6 (and also in
API)
I've tried this simple program in Wine 0.9.49 and wine 1.1.2 with the same
result.
I think this bug should be fixed for wine 1.2!
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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