Prev Previous Post   Next Post Next
Old 17th March 2003, 08:38   #4
wossName
Junior Member
 
Join Date: Mar 2003
Location: Earth
Posts: 7
Quote:
Originally posted by Dark Boy
You close $R1 and you trying to read it again, maybe:
DeleteINISec doesn't operate on my file handle, I'm pretty sure I have to close it so DeleteINISec can write to the file.

Quote:
Originally posted by deguix
Contents preserved? So can only read, because the contents are preserved. So use the "w" for write.
No, I quote from the documentation: "a" (append, meaning opened for both read and write, contents preserved)

There's a slim chance that there are other sections in wininit.ini, that's why I can't just use mode "w", which would create an entirely new file.
wossName is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast 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