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" <[EMAIL PROTECTED]> To: "Michael (michka) Kaplan" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> > > > > > > > >>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/refere nce/shlwapi/string/strcmplogicalw.asp > > > >MichKa > > > > > > > >