×
Namespaces

Variants
Actions
Revision as of 08:19, 10 March 2009 by savaj (Talk | contribs)

How to use RFileWriteStream

From Nokia Developer Wiki
Jump to: navigation, search
TInt16 someInt;
RFileWriteStream writerStream;
writerStream.PushL(); // writerStream on cleanup stack
User::LeaveIfError(writerStream.Create(fs, fileName, EFileWrite)); //fs is ur file session and fileName is name of ur file.
writerStream.WriteInt16L(someInt);
writerStream.CommitL();
writerStream.Pop(); // writerStream
writerStream.Release();
57 page views in the last 30 days.
×