Archive: INI Field issue


INI Field issue
I'm having problems with my app, where a user must enter multiple maps into a 1 line field box seperated by ";" characters.
I'm having a problem, that there seems to be a maximum character size either in that field or when I read from that field.

Looking at it now, there seems to be a max size for the field, because the output (that gets written to my ini file is always chopped in half)

Does anyone know what the max length for the field (text box) are?


-Stu


The buffer size in IO is dynamic and there is no size limit for "text" controls, on the other hand, NSIS internal buffers size for user variables is limited to 1024 chars, and this can generate problems.

cyas
Ramon


Yes you are right...
So, its the saving as variable part that screws it up.

I shall have to set the max field length to 1024, unless there's another way...

-Stu


You can always recompile NSIS with NSIS_MAX_STRLEN set to a larger value.


I don't have a decent compiler...

-Stu