Title: RE: [msvc] CFile::Seek

> If I have a file that I need to make bigger, can I seek to a
> location that
> is beyond the eof?  Theoretically, the next 'record' would be
> written to
> the current location of the eof, making the file larger.

Are you looking for SetFilePointer( ) and SetEndOfFile( )?  You should
translate them to the MFC versions, of course.  I'm not very familiar
with CFile.

-------------
Ehsan Akhgari

List Owner: [EMAIL PROTECTED]

[ Email: [EMAIL PROTECTED]; [EMAIL PROTECTED] ]
[ WWW: http://www.beginthread.com/Ehsan ]

Reply via email to