[Bug 5469] VB6.0 string compare gives wrong result

Wine Bugs wine-bugs at winehq.org
Fri Nov 24 05:37:09 CST 2006


http://bugs.winehq.org/show_bug.cgi?id=5469





------- Additional Comments From charles at diagnos.co.uk  2006-24-11 05:37 -------
Created an attachment (id=4171)
 --> (http://bugs.winehq.org/attachment.cgi?id=4171&action=view)
VarBstrCmp binary comparison patch

So, I've finally found some time to look at this again.
The attached patch performs a binary comparison of the two strings if LCID == 0
(rather than a Unicode compare), which is what I believe Windows does.	This
now gives the same results as Windows on the test data I fed it.
Is the patch alright?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list