Hi All

I have written a dll code in EVC 4.0 where in one of my exported
function makes heavy repeated calls of SetFilePointer.

On careful examination I found out that this function is making the
entire function operation drastically slow.

Is there any work around or an alternative to use instead of using
SetFilePointer.

Will buffering the file data prior to moving pointers inside the file
help or not..

Any suggestions can be a great help

Thanks In Advance

Cheers
Sid

Re: SetFilePointer too slow??? by rick

rick
Wed May 24 13:20:25 CDT 2006

You should consider using memory mapped files instead.

CreateFileForMapping()

is the place to start.

rick