freeDB_man
25th April 2008 18:54 UTC
length string
I am using the latest version of NSIS but whenever i try to read some text from a file only parts of it are stored in the variable. The text has more than 1000 charecters.
Is there anyway to be able to store the whole thing in that one variable?
Anders
25th April 2008 19:02 UTC
Are you saying a single line is more than 1024 chars?
Get large string build @ http://nsis.sourceforge.net/Special_Builds
freeDB_man
25th April 2008 19:09 UTC
I tried that. It did not work. Any other suggestions?
Joel
25th April 2008 19:14 UTC
Use break lines or something :igor:
freeDB_man
25th April 2008 19:19 UTC
I put it in a XML file so that it would be easier to handle but still no luck. :weird:
freeDB_man
26th April 2008 10:23 UTC
I put the whole contents of the file into an XML file so it would be easier to use and I use the XML plugin to read the contents but still only around 1000 chars are stored in the variable.
Is this a problem with NSIS or the XML plugin?
kichik
26th April 2008 13:25 UTC
If you're using the special build, it's a problem with the plug-in that ignores the string size it gets and always uses 1024.
freeDB_man
26th April 2008 14:00 UTC
OK. I will inform the developer of that plug-in and see if he/she can fix it.