Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   nsSCM::stop empties out my stack (http://forums.winamp.com/showthread.php?t=267199)

ajay662 5th March 2007 15:36

nsSCM::stop empties out my stack
 
I am using Dumpstate::debug to print stack before and after the nsSCM::stop call. I push 3 variables ($0, $1, $2) on stack before calling nsSCM::stop. After call those variables are no longer on the stack. Am I doing something wrong?

Dumpstate::debug <-- I can see 3 variables on stack
nsSCM::Stop $0
pop $1
Dumpstate::debug <-- stack empty ??

kichik 5th March 2007 16:18

That is its designed behavior for whatever reason. It calls clear_stack() before pushing the result on the stack. You can recompile it without clear_stack() or use another one of the available plug-ins.

ajay662 5th March 2007 16:34

Thanks for your quick reply. Can you clarify if this is the case only with nsSCM::stop call or all nsSCM calls?

kichik 5th March 2007 16:38

All nsSCM calls.


All times are GMT. The time now is 04:14.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.