Archive: nsDialogs Crash


nsDialogs Crash
Hi!

I'm just trying nsDialogs to create a custom page.

At first I've created this small example. After compilation and execution it simply crashes with "Unhandled exception 6008. Please help.


!include nsDialogs.nsh
!include LogicLib.nsh

Name nsDialogs
OutFile nsDialogs.exe

;SetCompressor /SOLID lzma

XPStyle on

Var Dialog

Page custom nsDialogsPage

Page instfiles

Function nsDialogsPage

nsDialogs::Create 1018
Pop $Dialog

${If} $Dialog == error
Abort
${EndIf}

FunctionEnd

Section

DetailPrint "hello world"

SectionEnd

You need nsDialogs::show as well and if you're not using /NOUNLOAD, you need the latest NSIS version.


Thanks for the superfast answer. Have done both and the problem is gone.


.