Archive: Anouther System Plugin Question


Anouther System Plugin Question
  I'm trying to delve into the mysteries of the system plug-in but I found something that doesn't seam right.


    System::Call "*(i 5) p .r0"

System::Call "*$0(i .r1)"
DetailPrint $1
>
My interpretation of this snippet would output "5" for the value of $1. The output I'm getting is "0":igor:

I'm using NSIS v2.46 on Windows XP x64 SP2 with in the Eclipse IDE. Any ideas?

Just reinstalled NSIS and tested the same code on a 32bit version of Windows XP SP3.. Issue remains...


I think the System plugin documentation online may still be ahead of that actually in release with NSIS. As such, the 'p' type doesn't exist. Try the 'i' type instead.


That worked..

Anything else like this that needs disclosed, before I pull anymore tuffs of hair out? ;-)


*grin* I think that (online documentation/released plugin mismatch) was the only caveat - just read the docs that come with NSIS instead (NSIS\Docs\System\) - good luck :)