n0On3
18th October 2002 19:17 UTC
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:)
kichik
19th October 2002 12:20 UTC
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.
n0On3
19th October 2002 14:19 UTC
ok, thanks for the explanation.