Article View: borland.public.cppbuilder.nativeapi
Article #15781SetThreadLocale not working???
From: MWP
Date: Thu, 19 Jun 2003 07:37
Date: Thu, 19 Jun 2003 07:37
12 lines
1329 bytes
1329 bytes
Im using: SetThreadLocale(MAKELCID(MAKELANGID(LANG_ENGLISH, SUBLANG_NEUTRAL),SORT_DEFAULT)); In my NT service to try and solve the problem of INI files being read incorrectly in non English regions and returning this error: "Service failed on execute: '1.0' is not a valid floating point value." SetThreadLocale is returning "true" meaning it was successful, but im still getting the INI read problems. Can anyone help?
Technical Details
Message-ID:
<3ef16833$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,8088d88498c22e25,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-06-19 00:41:13 PST From: "MWP" <mwp@overclockers.com.au> Sender: "MWP" <mwp@overclockers.com.au> Reply-To: "MWP" <mwp@overclockers.com.au> Subject: SetThreadLocale not working??? Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 203.16.214.242 203.16.214.242 X-Forwarded-For: unknown, 150.101.76.143 NNTP-Posting-Host: 207.105.83.65 Message-ID: <3ef16833$1@newsgroups.borland.com> Date: 19 Jun 2003 00:37:23 -0700 X-Trace: newsgroups.borland.com 1056008243 207.105.83.65 (19 Jun 2003 00:37:23 -0700) Lines: 12 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail