Skip to content
⌘ NSIS Forum Archive

How do you represent \00 in a string?

4 posts

dselkirk#
I was trying to use the system plugin to execute the createprocess api with environment variables. To use multiple environment variables you pass a string the variable and value delimited by 3 null characters.
brainsucker#
Example:
System::Call '*(&t6 "aa=bb", &t8 "qqq=www", &i1 0) i.r1'
will return block you need to r1. Don't forget to change size specified at &t parameters to actual size of your strings + 1.
System::Free after all of course.