Skip to content
⌘ NSIS Forum Archive

looking for Nsis equvalent

5 posts

Joel#

looking for Nsis equvalent

I'm making this plugin with two main functions: use the Common Dialog "GetOpenFileName" and shell browser "SHBrowseForFolder".

It's ready to release, but I'm having problems with the filter input by the user.

Normaly (C++ style) will be:

ofn.lpstrFilter = "Text files(*.txt)\0*.txt\0\0";
How will be the equivalent of \0 with NSIS script?
I try $\r and nothing.... 🙁
Joost Verburg#
So you need a "string" with multiple null characters. I think that's not possible with a standard NSIS string.