Re: E2161 Duplicate string
- From: Danny Strümpel <dannys9@invalid>
- Date: Sun, 30 Mar 2008 09:37:54 +0200
E Sterrett schrieb:
I am trying to use this function for looking up mime types:
http://www.swissdelphicenter.ch/torry/showcode.php?id=2285
The resource file it comes with has hundreds of strings in it, but I have stripped it down to just one:
STRINGTABLE
BEGIN
101, ".3dm x-world/x-3dmf"
END
The project will not compile with this error:
[Pascal Error] E2161 Duplicate string: ID 101; File ...\mimetypes.res string kept: ".3dm x-world/x-3dmf"; file ...\mimetypes.res resource discarded: ".3dm x-world/x-3dmf".
Any idea whats wrong?
Delete all res files in your project and do a complete rebuild (Shift-F9). You need to have the matching rc files included in your project, so they also get rebuild. The <Projectname>.res doesn't have a rc file, it will be built by the compiler.
Maybe this helps.
--
Ten years of rejection slips is nature's way of telling you to stop
writing.
-- R. Geis
....und wech
Danny <dannys9 (at) gmx (dot) de>
.
- Follow-Ups:
- Re: E2161 Duplicate string
- From: E Sterrett
- Re: E2161 Duplicate string
- References:
- E2161 Duplicate string
- From: E Sterrett
- E2161 Duplicate string
- Prev by Date: Re: E2161 Duplicate string
- Next by Date: Re: E2161 Duplicate string
- Previous by thread: Re: E2161 Duplicate string
- Next by thread: Re: E2161 Duplicate string
- Index(es):
Relevant Pages
|