Frequently Asked Questions
Duplicate resource errors
Question:
How can I avoid getting duplicate resource errors when linking a
language dependent resource file under Delphi 3.0 or
Borland C++ Builder?
Answer:
If the resource identifier has an even number of characters,
you may get duplicate resource errors. Rename the resource
to a name that has an odd number of characters.
Example resource scripts:
{This compiles fine}
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
Hello BITMAP "hienglsh.bmp"
LANGUAGE LANG_SPANISH, SUBLANG_SPANISH_MEXICAN
Hello BITMAP "hispansh.bmp"
{This does not compile}
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
Helo BITMAP "hienglsh.bmp"
LANGUAGE LANG_SPANISH, SUBLANG_SPANISH_MEXICAN
Helo BITMAP "hispansh.bmp"