Thread: nsJSON plug-in
View Single Post
Old 29th February 2016, 14:32   #46
Marshallx7
Junior Member
 
Join Date: Oct 2012
Posts: 36
I'm also having trouble using the unicode version of the plugin:

code:
OutFile "test.exe"
!define SETTING_UNICODE
!ifdef SETTING_UNICODE
Unicode true
!addplugindir /x86-unicode "./plugins/x86-unicode"
!else
Unicode false
!addplugindir /x86-ansi "./plugins/x86-ansi"
!endif
Page instfiles
Function .onInit
nsjson::set /tree testTree testNode /value testValue
nsjson::get /tree testTree testNode /end
Pop $R0
MessageBox MB_OK $R0 ; "testValue"
FunctionEnd
Section "dummy"
SectionEnd



With the ansi version, the message box reads "testValue" as expected, but with the unicode version is just says "t".
Marshallx7 is offline   Reply With Quote