🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: LoadString() and several res files...

#9680
From: Bob Gonder
Date: Tue, 15 Jun 2004 18:21
25 lines
1753 bytes
Oren Halvani wrote:

>i want to include several stringtables to my project, is it possible ? each
>one contains about 250 string id's..
>
> or how do i seperate them if i put them
>into only
>one res file..?

Either the string id's are unique, or each table is a different
language, and the OS will pick the best fitting table for the user's
machine.  ((Pretty sure, but never used them, so can't swear by it))

>WinAPI says...
>
>int LoadString
>(
>    HINSTANCE hInstance, // handle of module containing string resource
>    UINT uID, // resource identifier (SO, HERE IS THE RES FILE, RIGHT ?)

No, the RES file was linked into your application.
uID (as the help clearly says)
Specifies the integer identifier of the string to be loaded. 

That would be one of the "250 string id's"
Technical Details
Message-ID: <e4fuc0d87v0bp0u054kvsmdgngm5qcpetn@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40cef9a0@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,bdefe08ea8276730
X-Google-Attributes: gid10cc67,public
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: LoadString() and several res files...
Date: Tue, 15 Jun 2004 11:21:56 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <e4fuc0d87v0bp0u054kvsmdgngm5qcpetn@4ax.com>
References: <40cef9a0@newsgroups.borland.com>
X-Newsreader: Forte Agent 1.93/32.576 English (American)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 65.173.66.53
X-Trace: newsgroups.borland.com 1087323715 65.173.66.53 (15 Jun 2004 11:21:55 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail