String Table MFC vc++
-
I have some hard coded strings which I wanted to add to the String Table and load that string from the string table. From the resource view, i go to the string table and gave ID,value and caption there. and tries to load by doing this.
CString temp;
temp.LoadString(IDS_STRING1);But its giving me IDS_STRING1 is undefined. What is the correct way to do this? Thanks in advance.
-
I have some hard coded strings which I wanted to add to the String Table and load that string from the string table. From the resource view, i go to the string table and gave ID,value and caption there. and tries to load by doing this.
CString temp;
temp.LoadString(IDS_STRING1);But its giving me IDS_STRING1 is undefined. What is the correct way to do this? Thanks in advance.
I found what I did wrong. Thanks :)
-
I found what I did wrong. Thanks :)
what was wrong ? how did you fix it ?
I'd rather be phishing!
-
what was wrong ? how did you fix it ?
I'd rather be phishing!
I gave the value which is already there.. I gave a different number which is not already used and that solve my problem.