Archive: I don't understand FileSeek use


I don't understand FileSeek use
I was looking for a way to find a line with a speciefied string in a users' machine, when I found this function FileSeek, how does it work, I didn't get a clear idea reading the docs.

btw, any solution to my first problem (I must say that comparing the entire line won't work because the line varies there's only a string which is constant).

Thanks:)


I have already answered this question in this thread:
http://forums.winamp.com/showthread....ghlight=strstr

FileSeek is not what you are looking for. FileSeek moves the data pointer in the file. It can move the pointer to 500 characters from the beginning for example but it can't search strings.


ok, thanks for the explanation.