A problem about file reading
| Wed, 2007-06-20 08:17 | |
|
I used RFile and TFileText to find a line that contains some keywords in a file. The code is:
After the line "file.Close()" was executed, the program couldn't go further. What's the problem? |
|






Forum posts: 214
You don't have to push HBufC anymore. NewLC means that it is already in cleanupstack
HBufC* str = HBufC::NewLC(50);
CleanupStack::PushL(str); //Not needed
"I only know that I know nothing." (Socrates)
Forum posts: 26
Thanks for your reply. My problem has been solved.