[Bug 5469] VB6.0 string compare gives wrong result
http://bugs.winehq.org/show_bug.cgi?id=5469 juan_lang(a)yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #2690 is|0 |1 obsolete| | ------- Additional Comments From juan_lang(a)yahoo.com 2006-21-06 12:46 ------- Created an attachment (id=2691) --> (http://bugs.winehq.org/attachment.cgi?id=2691&action=view) Partial fix Never mind, don't test that patch, it doesn't help. There appear to be several bugs: 1. VarBstrCmp was passing -1 to CompareStringW, meaning it expected the BSTRs to be NULL-terminated. This is wrong, and the previous patch addressed that. 2. VarBstrCat was assuming its arguments were NULL-terminated. This is also wrong, and this patch addresses that. 3. CompareStringW only compares until a NULL. This needs a test case to show the correct behavior. -- 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.
participants (1)
-
Wine Bugs