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
- OmniThreadLibrary Documentation: ParallelTask
- You can’t remove open-source code from public use
- Laying out Smart applications with Layout Manager [3]
- HotFix 1 is live!
- From OP4JS to Smart Mobile Studio
- Update 4 Hotfix 1 now available for Delphi, C++Builder and RAD Studio XE2
- Charles Petzold Rides Again (+ praise for Kindle and O’Reilly)
- Delphi Language links/info
- Limit The Number Of Characters For The TListView's Editor Control
- Embarcadero Academy–The Multithreading Session
I'm an avid programmer working on a variety of platforms in a variety of languages with a wide technical interest.


April 7, 2011