Reputation: 55
I'm trying to compile a resource file (.rc) for a Win32 application but I'm getting this error
use "" to put " in a string
Among other things, I'm trying to define a MENUITEM
with a string that looks like this "&Save\t\"Alt+S\""
. I have tried escaping the "
character with "\""
but it still doesn't work.
Upvotes: 0
Views: 1181
Reputation: 126907
Why are you escaping it with \"
when the resource compiler clearly says you that you must escape it with ""
? Just do:
"&Save\t""Alt+S"""
Upvotes: 1