Unicode in Resource files
Ever tried to put a unicode string (Delphi 2009) in a resource (.rc) file and tried to compile it with brcc32 or rc32?
You’ll get this error: Expecting resource name or resource type name
The Solution is very simple (though it kept me searching some hours
:
Use
cgrc.exe
(CodeGear Resource Compiler/Binder) instead!
4 Comments to Unicode in Resource files
Thanqu dude
April 7, 2011
You’re welcome.
January 20, 2012
Hi,
I’ve got the exact same error message from using brcc32. Obviously, I want to see if your suggestion works for me too, but googling ‘cgrc’ and related doesn’t lead me to any sites allowing for me to download cgrc.exe. Is it part of some Embarcadero commercial product?
Any ideas how I could get hold of ccgc.exe?
Thanks in advance!!!
cheers,
Esben
January 20, 2012
cgrc is part of delphi/radstudio (2009/2010/XE2)
e.g. Delphi 2010:
C:\Program Files\Embarcadero\RAD Studio\7.0\bin\cgrc.exe
Leave a comment
About
Recent Posts
- VerySimpleXML – a lightweight Delphi XML reader and writer
- Solving circular unit references with class helpers
- How to change the language of the Cisco SPA504G
- Eclipse on Mac OS X – Workspace error on NFS mounts
- Lua 5.1 for Delphi 2010
- WordPress Plugin – QR Code Tag v1.0
- Favourite Android applications
- Hint: Blank Typo3 installation screen
- How to create an ESXi v4 Whitebox ISO with Windows Tools
- Ext: tt_news – no translation for name of months
Search
Categories
Tags
Archives
Delphi Feeds
- MSBuild and Delphi compiler hints – binary patch
- Temporärer Beitrag, der zur Designerkennung verwendet wurde (1d773c88-5a47-40d8-a9d8-60a2f29e72ed – 3bfe001a-32de-4114-a6b4-4005b770f6d7)
- An Interface Implementation Pattern for Consideration
- Functional programming style in Delphi
- FireMonkey 3D Text Editor
- Delphi Mapping REST Clients
- Lua4Delphi – Broken the Interface
- XE2 VCL Styles "EQ"
- Upcoming webinars for Delphi developers
- Wireless Android Control
I'm an avid programmer working on a variety of platforms in a variety of languages with a wide technical interest.


April 7, 2011