1

I am unable to compile or use additional string resources, when targeting Mac OS 64 bit. Everything is fine for Windows 32 and 64 bit and Mac OS 32 bit.

I am adding a resource file (.res or .rc) containing a STRINGTABLE in my .dpr, but the compiler either throws an error "duplicate resource: type STRING ID XXX" or (if I change the IDs in the resource file a bit) it compiles, but LoadStr() always returns an empty string.

Nostradamus
  • 668
  • 6
  • 18
  • `STRINGTABLE` is specific to Windows, as are `.res` and `.rc` files. They're not used on OS X, iOS or Android. – Ken White Aug 13 '19 at 14:34
  • Why not use `resourcestring` and let the compiler handle platform differences in how they are stored and accessed? – Remy Lebeau Aug 13 '19 at 17:00

0 Answers0