Archive: MessageBox.dll problems


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?


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.