Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   MessageBox.dll problems (http://forums.winamp.com/showthread.php?t=265175)

Yathosho 5th February 2007 18:02

MessageBox.dll problems
 
i'm constantly having problems using the MessageBox plugin. i can't really make out when this happens, but sometimes i get an additional button "0" in my dialog. i asked for a solution before and was told to use a syntax like:

Pop $1 ; I was asked to add this line
MessageBox::show [..]
Pop $1

now the behaviour is even more unforeseeable. sometimes the "0" button still shows up. one assumption of mine is that the problem does not appear the first time i use the plugin, but not all of my dialogs are shown, depending on what the user chose to install.

isn't there some proper solution for this?

goldy1064 6th February 2007 00:06

If I remember correctly, the plug-in takes up to four parameters off the stack without checking for an ending condition. Because of this, the stack must be empty before pushing your parameters to the plugin onto the stack. Go search the Wiki for dumpstate plugin to debug what's in your stack.


All times are GMT. The time now is 05:10.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.