CompareString in Linux lazarus / 1-Linux ---------------------------------------------------------------------- tk · 2009-08-25 22:15 I need an exact alternative for WinAPI function CompareString (locale dependent comparison). Is there something like this in Linux? Or where I can find some 'Linux MSDN' that describes the complete API? Thx ---------------------------------------------------------------------- cdbc · 2009-08-25 22:51 Hi Tk A quick search in Lazarus directory came up with 25 files containing 'comparestring', in LCL, CodeTools and other dirs... Have a look and see if something fits your needs... Regards Benny ---------------------------------------------------------------------- tk · 2009-08-25 23:23 Thanks, unfortunately it all appears to be Windows only stuff. I need a locale dependent comparison routine on all supported Widgetsets (and an interface with the locale identifiers like constants for MakeLCID macro on Win). It seems not to be implemented in Lazarus but I guess there must be such stuff for all other OSs, I think these are well internationalized. ---------------------------------------------------------------------- theo · 2009-08-26 08:11 Have a look at unit cwstring (WS-manager / Linux). Does probably not what you need, but it's a start. setlocale wcscoll ...