Archive: Improving DLL calls - devs, help!!!!


Improving DLL calls - devs, help!!!!
Hi people :)

I'm making a new plugin and the dialog that I'm display works great...

But seems that NSIS is paused at the moment of the calling...

After, the dialog (created by the plugin) is close, NSIS returns its process...

How can I display my dialog and let NSIS to continue its process?

Thanks


This may happen only if you use modal dialog.

Modeless dialog box creation:
CreateDialog | CreateDialogParam |CreateDialogIndirect
Then ShowWindow(), finally DestroyWindow()

Or show your code :)


I'm using CreateWindow....
but I'll try the Modeless thing :)


Keeps crashing in the last second before closes NSIS :(


this is a banner.. Do you use /NOUNLOAD in plug-in call?

Edit:
And something is wrong with parent window handle, might be better to use NULL as parent in CreateWindow. Parent handle may be not valid after some time.


More or less, is a banner... I'll try NULL in hwnd of CreateWindow.


I don't know what finally you want to have, but I tested this simple script for modeless banner window with sound - looks OK even on Win98SE :)


w00t!

I done it :D

It was DestroyWindow....

The plugin is about to create the standard MSI (Windows Installer) startup banner....

I'll make the last tests and I'll put it in my site to be downloadable.