Talk:FileRequest through section or function
From NSIS Wiki
Jump to navigationJump to search
Great work, it's come in very handy. Just a question about restoring the stack - I was having problems, as it doesn't seem to restore things in the correct order. Changed it to the following and it seems to work fine:
Pop $R3 Pop $R2 Pop $R1 Pop $R0 Pop $9 Pop $8 Pop $7 Pop $6 Pop $5 Pop $4 Pop $3 Pop $1 # Current stack should now be R5, R4, 2, 0 Exch $0 # R5, R4, 2, RESULT Exch 3 # RESULT, R4, 2, R5 Pop $R5 Pop $2 Pop $R4
Gerillah 01:25, 29 June 2007 (PDT)