🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13661

Re: LoadString and default stringtable

#13661
From: Chris Hill
Date: Tue, 23 Sep 2003 03:59
21 lines
1580 bytes
On 22 Sep 2003 06:22:14 -0700, "Thorsten Kettner"
<QUESTIONBYthorsten.kettner@otto.de> wrote:

>
>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. 

You can make a DLL for each language and load your resources from the
appropriate DLL at runtime.  The defaults can be built into your EXE
and the German can be in a DLL.

FindResourceEx can be used to find a resource with a specified
language and then you can use LoadResource to access the raw resource
data.  The documentation for SetThreadLocale claims that the setting
affects the loading of resources from LoadString and other type
specific resource functions.

Chris Hill
Chris244@aol.com
Technical Details
Message-ID: <3f6fc22b.2022281357@forums.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f6ef786@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4daae65cffc0dd68
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-22 21:08:16 PST
From: Chris244@aol.com (Chris Hill)
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: LoadString and default stringtable
Date: Tue, 23 Sep 2003 03:59:14 GMT
Message-ID: <3f6fc22b.2022281357@forums.borland.com>
References: <3f6ef786@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 12.221.66.183
X-Trace: newsgroups.borland.com 1064289599 12.221.66.183 (22 Sep 2003 20:59:59 -0700)
Lines: 21
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail