Re: E2161 Duplicate string
On 29 Mar, 17:31, E Sterrett <bgre...@xxxxxxxxxxxxx> wrote:
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?
Perhaps your test executable is named "MimeTypes" and the two resource
files (that for the excutable, auto-created by Delphi, and that with
the string resources) are conflicting because they have the same name.
If that's so, rename the strings resource or your executable.
Alan Lloyd
.
Relevant Pages
- Re: URGENT: window.open does not render server-side code when aspx file pulled from a resource f
... care this is ASPX code. ... From a resource point of view this is just some ... So ASP.NET doesn't compile and run this... ... I have an aspx file stored in a resource file. ... (microsoft.public.dotnet.framework.aspnet) - Re: Erfahrungswerte =?ISO-8859-1?Q?f=FCr_Vorgehen_bei_Loka?= =?ISO-8859-1?Q?lisierun
... Wir haben uns entschlossen, die von .NET vorgesehene Variante der Lokalisierung über Resource Dateien zu verwenden. ... In diesem Fall wäre einer dazu "verdammt" diese Strings aus allen Formularen herauszuziehen, was dann zwar die Resourcedatei besser handhabbar machen würde, aber das Problem des Sperrens immer noch bei den eigentlichen Formularen bestünde. ... (microsoft.public.de.german.entwickler.dotnet.asp) - Re: Visual C++ 6 support issue
... >> A common IDE is a good idea, but usually in programming, you have ... >would do what made sense for that language. ... >or at least for allocating resource ID values within specified ranges. ... >That is, for example, I'd like to keep all the help strings and all the ... (microsoft.public.vc.mfc) - Re: Multilanguage application
... these strings are stored as resources in system DLLs. ... if you open comctl32.dll in any resource editor (for example Resource ... "Mike Shkolnik" wrote in message ... >> either using TsiLang's implementations of these functions or translate ... (borland.public.delphi.thirdpartytools.general) - Re: messabebox(...) v afxmessanebox
... I was just wondering why you would store MFC resources in vectors when the resource file concept is so handy. ... Maybe you only have "strings" to deal with and not dialogs, icons, bitmaps, toolbars, menus, and strings. ... "Roger Rabbit" wrote in message ... (microsoft.public.vc.mfc) |
|