strange problem with RtlCompareUnicodeString
Feb. 11, 2005
6:17 p.m.
RtlCompareUnicodeString should return 0 if it receives two identical string. But for some strange reason this code http://rafb.net/paste/results/e3tHCg40.html prints this output http://rafb.net/paste/results/SS5U2N81.html Is it a mistake I've missed, or is this a bug in the implementation of RtlCompareUnicodeString? Ivan.
February 2005
8:26 p.m.
Solution: the function checks the Length member of the struct, not the real length of the string. Ivan.
7713
Age (days ago)
7713
Last active (days ago)
1 comments
1 participants
participants (1)
-
Ivan Leo Puoti