Skip to content
⌘ NSIS Forum Archive

NULL termination character

2 posts

tttoo#

NULL termination character

Hi.

I have a MULTI_SZ string which I need to save to the registry, after looking high and low I found a subroutine which suggested that the only way to do it was to system calls. I have done this but unfortunately a MULTI_SZ string requires that you terminate the string (and in several places within the string.) in NULL characters.

I cannot change it from a REG_MULTI_SZ and I could do with some help. I've read through the tutorial and either I missed it or it wasn't there.

Could anyone help me with this?

Thanks.