Hello,, i'm trying to create a listbox, i use: TResourceReader reader; iEikonEnv->CreateResourceReaderLC(reader, R_LIST_FOLDERS); iSavedGamesListBox->ConstructFromResourceL(reader); CleanupStack::PopAndDestroy(); // reader When building, i'm getting: error C2065: 'R_LIST_FOLDERS' : undeclared identifier I double checked the decleration in the ".rss" file and everything is correct. Does anybody know this problem? Thanks in advance.
Hello,, i'm trying to create a listbox, i use: TResourceReader reader; iEikonEnv->CreateResourceReaderLC(reader, R_LIST_FOLDERS); iSavedGamesListBox->ConstructFromResourceL(reader); CleanupStack::PopAndDestroy(); // reader When building, i'm getting: error C2065: 'R_LIST_FOLDERS' : undeclared identifier I double checked the decleration in the ".rss" file and everything is correct. Does anybody know this problem? Thanks in advance.
include your rss in your cpp file (#include <myresources.rss>)
Forum posts: 982
TResourceReader reader;
iEikonEnv->CreateResourceReaderLC(reader, R_LIST_FOLDERS);
iSavedGamesListBox->ConstructFromResourceL(reader);
CleanupStack::PopAndDestroy(); // reader
When building, i'm getting:
error C2065: 'R_LIST_FOLDERS' : undeclared identifier
I double checked the decleration in the ".rss" file and everything is correct. Does anybody know this problem? Thanks in advance.
include your rss in your cpp file (#include <myresources.rss>)
pirosl
Forum posts: 177