Zinthose
11th August 2010 14:52 UTC
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?
Zinthose
11th August 2010 15:25 UTC
Just reinstalled NSIS and tested the same code on a 32bit version of Windows XP SP3.. Issue remains...
Animaether
11th August 2010 15:45 UTC
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.
Zinthose
11th August 2010 15:51 UTC
That worked..
Anything else like this that needs disclosed, before I pull anymore tuffs of hair out? ;-)
Animaether
11th August 2010 17:05 UTC
*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 :)