<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.newlc.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>NewLC - Open a RFileWriteStream for appending - Comments</title>
 <link>http://www.newlc.com/en/topic-17449</link>
 <description>Comments for &quot;Open a RFileWriteStream for appending&quot;</description>
 <language>en</language>
<item>
 <title>Re: Open a RFileWriteStream for appending</title>
 <link>http://www.newlc.com/en/topic-17449#comment-37132</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;Thanks this works:&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;// 1) open the file&lt;br /&gt;RFile fh;&lt;br /&gt;fh.Open(iFs, *iLogFileName, EFileShareAny|EFileStream|EFileRead);&lt;br /&gt;CleanupClosePushL(fh);&lt;br /&gt;&lt;br /&gt;// 2) seek the EOF&lt;br /&gt;TInt offset = 0;&lt;br /&gt;fh.Seek(ESeekEnd, offset);&lt;br /&gt;&lt;br /&gt;// 3) cleanup&lt;br /&gt;CleanupStack::PopAndDestroy(&amp;amp;fh);&lt;br /&gt;&lt;br /&gt;// move the position of the write mark in the stream by the specified offset&lt;br /&gt;iFileWriteStream.Sink()-&amp;gt;SeekL(MStreamBuf::EWrite, TStreamPos(offset));&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;regards&lt;br /&gt;Martin&lt;/div&gt;</description>
 <pubDate>Sun, 28 Jan 2007 16:00:23 +0100</pubDate>
 <dc:creator>makom-forum</dc:creator>
 <guid isPermaLink="false">comment 37132 at http://www.newlc.com</guid>
</item>
<item>
 <title>Re: Open a RFileWriteStream for appending</title>
 <link>http://www.newlc.com/en/topic-17449#comment-37131</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;After opening, with &amp;#039;iWriteStream&amp;#039; being your stream and &amp;#039;aPos&amp;#039; the position that you want to write to, try something like:&lt;br /&gt;&lt;div class=&quot;codeheader&quot;&gt;Code:&lt;/div&gt;&lt;div class=&quot;code&quot;&gt;Â  Â  iWriteStream.Sink()-&amp;gt;SeekL(MStreamBuf::EWrite,TStreamPos(aPos));&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</description>
 <pubDate>Sat, 27 Jan 2007 17:32:51 +0100</pubDate>
 <dc:creator>rbrunner</dc:creator>
 <guid isPermaLink="false">comment 37131 at http://www.newlc.com</guid>
</item>
<item>
 <title>Open a RFileWriteStream for appending</title>
 <link>http://www.newlc.com/en/topic-17449</link>
 <description>&lt;div class=&quot;smf-content&quot;&gt;&lt;/div&gt;&lt;p&gt;&lt;a href=&quot;http://www.newlc.com/en/topic-17449&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.newlc.com/en/topic-17449#comments</comments>
 <category domain="http://www.newlc.com/en/forums/symbian-c">Symbian C++</category>
 <pubDate>Sat, 27 Jan 2007 16:52:48 +0100</pubDate>
 <dc:creator>makom-forum</dc:creator>
 <guid isPermaLink="false">16981 at http://www.newlc.com</guid>
</item>
</channel>
</rss>
