Article View: borland.public.cppbuilder.nativeapi
Article #7882Re: Obtaining the Currency Symbol
From: Thomas Maeder [TeamB]
Date: Sun, 12 Dec 2004 13:42
Date: Sun, 12 Dec 2004 13:42
20 lines
1678 bytes
1678 bytes
Bob Gonder <notbg@notmindspring.invalid> writes:
This looks like a good start, but it doesn't seem to work.
> BOOL CALLBACK EnumLocalesProc( LPTSTR lpLocaleString )
> {
> dump_currency_symbol(lpLocaleString);
lpLocaleString is not a locale name, but a stringized numerical value,
e.g.: 00000403.
Now I'm not sure that these values can't be used to identify locale
names. They are certainly not the way I'm used to.
> EnumSystemLocales( EnumLocalesProc );
BTW: EnumSystemLocales() takes two arguments. The second one is used
to distinguish between supported and installed locales.
Technical Details
Message-ID:
<m2k6rnws3z.fsf@madbox2.local>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<41b9992f$1@newsgroups.borland.com> <m2hdmtu7gh.fsf@madbox2.local> <20dkr0los4gnkm95m6ovgq1l1m69hgp5gd@4ax.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,5c552075733153e4 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Obtaining the Currency Symbol References: <41b9992f$1@newsgroups.borland.com> <m2hdmtu7gh.fsf@madbox2.local> <20dkr0los4gnkm95m6ovgq1l1m69hgp5gd@4ax.com> From: maeder@glue.ch (Thomas Maeder [TeamB]) Organization: TeamB Date: Sun, 12 Dec 2004 14:42:08 +0100 Message-ID: <m2k6rnws3z.fsf@madbox2.local> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:OSbKmSETXrcs5DcflcMAiTPO8oY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 80.218.114.55 X-Trace: newsgroups.borland.com 1102858927 80.218.114.55 (12 Dec 2004 05:42:07 -0800) Lines: 20 X-Authenticated-User: tmaeder Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!newsfeed.icl.net!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail