From: Michael \(michka\) Kaplan (michka@trigeminal.com)
Date: Fri Mar 14 2003 - 03:17:32 EST
I have tried it on Win98, WinME, Win2000, WinXP, and Windows Server
2003. LCMapStringA/CompareStringA on all five and
LCMapStringW/CompareStringW on the NT-ish platforms.
I do not and cannot repro the reported problem of your colleague.
Please have that colleague send me some email with their repro
scenario, if they have one (I don't think they do, as the code on the
NT platforms does not have this functionality, even as an option).
MichKa
----- Original Message -----
From: "Yung-Fong Tang" <ftang@netscape.com>
To: "Michael (michka) Kaplan" <michka@trigeminal.com>
Cc: <unicode@unicode.org>
Sent: Thursday, March 13, 2003 5:20 PM
Subject: Re: sorting order between win98/xp
>
> do you use
> LCMapStringW on WinXP and LCMapStringA on Win98 WITH LCMAP_SORTKEY
to
> genearate the SORT KEY ?
>
> Have you try on both platforms ? (Win98 and WinXP)?
>
>
> Michael (michka) Kaplan wrote:
>
> >LCMapString does not do the reported behavior either.
ComparesString
> >and LCMapString are based on the same data and return the same
> >results.
> >
> >Your colleague is mistaken.
> >
> >MichKa
> >
> >----- Original Message -----
> >From: "Yung-Fong Tang" <ftang@netscape.com>
> >To: "Michael (michka) Kaplan" <michka@trigeminal.com>
> >Cc: <unicode@unicode.org>
> >Sent: Thursday, March 13, 2003 4:31 PM
> >Subject: Re: sorting order between win98/xp
> >
> >
> >
> >
> >>We cannot use that. The function you mention is to compare two
> >>
> >>
> >Unicode
> >
> >
> >>strings.
> >>We need the function to "generate sort key" from unicode strings
> >>
> >>
> >instead
> >
> >
> >>of compare two string.
> >>
> >>Michael (michka) Kaplan wrote:
> >>
> >>
> >>
> >>>From: "Yung-Fong Tang" <ftang@netscape.com>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>One of my colleague ask me this question.
> >>>>
> >>>>
> >>>>
> >>>>
> >>>In the interests of completeness....
> >>>
> >>>The function that does the type of sorting your colleague noted
is
> >>>StrCmpLogicalW in shlwapi.dll, version 5.5 and later. See the
> >>>following link for more information (all on one line in the
> >>>
> >>>
> >browser):
> >
> >
>
>>http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/refer
e
> >>
> >>
> >nce/shlwapi/string/strcmplogicalw.asp
> >
> >
> >>>MichKa
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >
> >
> >
>
>
This archive was generated by hypermail 2.1.5 : Fri Mar 14 2003 - 04:02:20 EST