Jump to content
  • Advertisement
Sign in to follow this  
ratha

Loading from String Table

This topic is 2664 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!