🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internationalization
Article #134

Duplicate Strings/Multiple Resources

#134
From: Mich
Date: Mon, 28 Feb 2005 21:48
18 lines
1926 bytes
I am working on a project that will eventually need to be translated into 
(possibly) multiple languages.  I created an .RC/.H file pair for string 
resources and added it to my project.  Using LoadStr(), everything seemed to 
work.  I did notice that I was getting the following messages (one for each 
string resource) after building:
[Linker Warning] Duplicate string:  ID [#]; File [path/project.RES] string 
kept: [string]; File [path/my file.RES] resource discarded: string: [string]

The discarded and kept strings were identical, so no problem.  But now I 
have made changes to my RC file.  The new strings are getting discarded. 
Just using Notepad, I can see that somehow the original string resources got 
into my project .RES file.  How do I get them out of there, or how do I get 
them updated?  What can I do to get rid of the Duplicate string warning?

I'm using BCB 5, Update Pack 1.

Thanks,
Michelle 
Technical Details
Message-ID: <4223910c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!tdsnet-transit!newspeer.tds.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10297d,c4e9c406240e7140,start
X-Google-Attributes: gid10297d,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Mich" <michellep@timemarkinc.com>
Newsgroups: borland.public.cppbuilder.internationalization
Subject: Duplicate Strings/Multiple Resources
Date: Mon, 28 Feb 2005 13:48:36 -0800
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 216.210.239.242
Message-ID: <4223910c@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109627148 216.210.239.242 (28 Feb 2005 13:45:48 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!tdsnet-transit!newspeer.tds.net!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail