Is it possible to convert a string table resource to a LPTSTR?
Also, during runtime, is it possible to compare a string to an entry
in the string table and get it's ID?
Printable View
Is it possible to convert a string table resource to a LPTSTR?
Also, during runtime, is it possible to compare a string to an entry
in the string table and get it's ID?
a) Yes, it's easy. Create a string buffer and use AfxLoadString instead of CString::LoadString.
b) No, you can only load every string (urrgh) and compare them. That's not realistic of course.