Issue with NSIS

Function PagePKeyLeave ; TurboActivate is in the plugins directory. ; Setting the output path ensures we can call it. SetOutPath $PLUGINSDIR

; get the product key in WCHAR * form, put on $0 System::Call user32::GetWindowTextW(i$txtPKey,w.r0,i${NSIS_MAX_STRLEN}) ; check if the product key is valid System::Call "TurboActivate::CheckAndSavePKey(wr0, i1) i.r2 ? c" MessageBox MB_OK "$2"

The message box always shows error. The function PagePKeyLeave is not working.

Hey Mey,

More information is needed: https://wyday.com/limelm/help/faq/#useful-reports

Are you using the Unicode NSIS? If not, do that. We do not support the ANSI version of NSIS.

What is the exact return code ? (Its an integer not a string)

Awesome. Worked like a charm.

I was using ASCI version of NSIS that was the problem.