Loading from String Table

Started by
-1 comments, last by ratha 13 years, 1 month ago
Hi!
I've to get the string from the String Table. I used the following code:

wchar_t myDocs[1024];
::LoadString(NULL,IDS_USERNAME_CH,myDocs,1024);


It shows the following error:
error C2065: 'IDS_USERNAME_CH' : undeclared identifier

I've to read the string(with ID IDS_USERNAME_CH) from the string Table and set the Text to a label. How to do this in C++/CLI?

This topic is closed to new replies.

Advertisement