Error Loading text from rss file
I have the following text reource in my rss file and need to load it and display it.
RESOURCE TBUF r_maxmenu_main_option1
buf = "Play Game";
When i compile i get the following,
C:\MAXMENU\SRC\Maxmenucontainer.cpp(60) : error C2065: 'R_MAXMENU_MAIN_OPTION1' : undeclared identifier
Error executing cl.exe.
Any idea what im missing - a header file or something ?
missing the .hrh file perhaps?
Thanks for the reply.
There is an include for the hrh file from within the rss file itself -but thats the only place i can see it.
The framework was created with app wizard 1.9 and then ive added the strings to the rss file manualy .
Whatever ive tried gives the same error...
any further advice would be appreciated.
The resource compiler creates a .rsg file (in epoc32\include) that maps resource names like R_MAXMENU_MAIN_OPTION1 to numeric identifiers. You'll have to #include this .rsg file in your .cpp files that need resource identifiers.
Many thanks - thats the piece of info i was missing.
I wont need to throw the 3650 at the wall any more today