Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 18th October 2002, 18:17   #1
n0On3
Senior Member
 
n0On3's Avatar
 
Join Date: Jan 2001
Location: Barcelona
Posts: 314
Send a message via ICQ to n0On3
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
n0On3 is offline   Reply With Quote
Old 19th October 2002, 11:20   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 19th October 2002, 13:19   #3
n0On3
Senior Member
 
n0On3's Avatar
 
Join Date: Jan 2001
Location: Barcelona
Posts: 314
Send a message via ICQ to n0On3
ok, thanks for the explanation.
n0On3 is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump