You will enjoy during the solution of this code...........
| Mon, 2008-06-16 06:27 | |
|
Dear Reader,hello n very good morning to you. the followinf code is teasing me from last 3 days. So sir i want after every execution my action.txt file should be empty for the new message n no. can anybody really help in this matter????????????? void CSmsHandler::MessageReceivedL( TMsvId aEntryId ) //Added to retrieve message body TBuf8<400> SMSContent8; } void CSmsHandler::WriteToFile(TBuf8<400> SMSContent8,TBuf8<40> Phone , TMsvId aEntryId) //TBuf8<0> iGsmMsgdata; //pk,added... //if(iReqStatus.Int()==KErrNone) //pk.......add.......... TInt iErr=iFile.Open(iFs,KFileSpec,EFileWrite | EFileRead); if(iErr==KErrNone) iFile.Seek(ESeekStart,iPos); //SMSContent8.Delete(0,400); //pk added........ |
|






Forum posts: 1156
Could you do the readers of this forum a little favour? Please re-post your code, but without all the code parts that are commented out anyway and only make the code hard to read, and please also use the <code> and </code> tags so that code formatting and indentation will be preserved. Your code will be *much* easier to read then, and hopefully the problem much easier to locate. Maybe try to work with the "Preview comment" button when reposting to check how the code looks.
Thanks!
René Brunner