🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Help: Problems with resource strings.

#2273
From: Bob Gonder
Date: Mon, 19 Mar 2007 17:20
14 lines
1289 bytes
A Nonymous wrote:

>    if (hlib)
>    {
>      // get data from a string table
>      Label->Caption.LoadString(hlib,1);

Did you try LoadStr(hlib,1) instead?

Alternative:

	TChar	buffer[1024];
	LoadString( hlib,1, buffer, 1024 );
	Label->Caption = buffer;
Technical Details
Message-ID: <tchtv21urvo96jf5cvpdflura0mg7ogqq9@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <Xns98F872A803C84anonymoushotmailcom@207.105.83.66>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,714830e17a60e95b
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Bob Gonder <notbg@notmindspring.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Help: Problems with resource strings.
Date: Mon, 19 Mar 2007 10:20:17 -0700
Organization: MindSpring Enterprises, Inc.
Reply-To: notbg@notmindspring.invalid
Message-ID: <tchtv21urvo96jf5cvpdflura0mg7ogqq9@4ax.com>
References: <Xns98F872A803C84anonymoushotmailcom@207.105.83.66>
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: 67.77.145.18
X-Trace: newsgroups.borland.com 1174324816 67.77.145.18 (19 Mar 2007 10:20:16 -0800)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!64.192.187.27!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail