Article View: borland.public.cppbuilder.nativeapi
Article #13749LoadString and default stringtable
From: Thorsten Kettner
Date: Mon, 22 Sep 2003 13:22
Date: Mon, 22 Sep 2003 13:22
23 lines
1837 bytes
1837 bytes
Hi all, I am trying to build an rc file containing a German stringtable and a default string table for all other language settings. The problem is it doesn't work. I have tried two tables LANGUAGE LANG_NEUTRAL, SUBLANG_DEFAULT and LANGUAGE LANG_GERMAN, SUBLANG_NEUTRAL but whatever language setting I do in Windows, I always get the German texts. I replaced LANG_NEUTRAL, SUBLANG_DEFAULT by LANG_NEUTRAL, SUBLANG_NEUTRAL, but this gives me the default texts always, even if my Windows setting is German. As far as I know, LoadString tries to find an exact match first (like GERMAN,GERMAN). If it fails it looks for the country independent stringtable (GERMAN,NEUTRAL). And if that fails, it looks for a default table (NEUTRAL,DEFAULT? or should that be NEUTRAL,NEUTRAL? Both makes sense, neither works). Where is my problem? Damaged Windows? Damaged brain?
Technical Details
Message-ID:
<3f6ef786@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-08!supernews.com!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,4daae65cffc0dd68,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-09-22 06:27:27 PST From: "Thorsten Kettner" <QUESTIONBYthorsten.kettner@otto.de> Sender: "Thorsten Kettner" <QUESTIONBYthorsten.kettner@otto.de> Reply-To: "Thorsten Kettner" <QUESTIONBYthorsten.kettner@otto.de> Subject: LoadString and default stringtable Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 80.85.196.93 80.85.196.93 X-Forwarded-For: 129.225.1.108, 129.0.6.11 NNTP-Posting-Host: 207.105.83.65 Message-ID: <3f6ef786@newsgroups.borland.com> Date: 22 Sep 2003 06:22:14 -0700 X-Trace: newsgroups.borland.com 1064236934 207.105.83.65 (22 Sep 2003 06:22:14 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail