I need to pass a dynamic value during runtime in StringLoader::LoadLC();
When i use a static variable like
TInt getText = R_COMMAND1_TEXT;
and pass to
HBufC* textValue = StringLoader::LoadLC(getText );
Then its working fine.I can get the value.
But my problem is, i need to pass a value which i get it in TBuf variable.
I tried to convert the TBuf to TInt and tried to pass the value.
But the application get crashed.
Can any one please help me to solve this problem.
The code i tried is ...
HBufC* textValue = StringLoader::LoadLC(ddd);
Wats the problem in this .....