🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Trouble with resource file

#13566
From: Fernando
Date: Fri, 03 Oct 2003 13:33
23 lines
1541 bytes
Hi,

How can I concatenate a symbol with a resource string?

I'd like to do someting like this:

----------------------------------------------------------
#define APP "EasyJob"

// StringTables common to all applications
STRINGTABLE LOADONCALL DISCARDABLE
BEGIN


	1000  "Activate " + APP

END
----------------------------------------------------------

How can i do this or something similar?

Is there any resource file compiler that lets you insert variables inside
strings, such as in TCL?
Technical Details
Message-ID: <lkuqnvorqi050vo1fi6mqvgvvq8l3qmd9n@4ax.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,159282133381d230,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-03 06:40:36 PST
From: Fernando  <frr@easyjob.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Trouble with resource file
Date: Fri, 03 Oct 2003 15:33:27 +0200
Message-ID: <lkuqnvorqi050vo1fi6mqvgvvq8l3qmd9n@4ax.com>
X-Newsreader: Forte Agent 1.9/32.560
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.127.66.80
X-Trace: newsgroups.borland.com 1065188017 217.127.66.80 (3 Oct 2003 06:33:37 -0700)
Lines: 23
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!diablo.theplanet.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail