×
Namespaces

Variants
Actions
Revision as of 00:55, 8 March 2009 by VaradiZsolt (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();
75 page views in the last 30 days.
×