|
|
#1 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
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 Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#2 |
|
NSIS Dev
Join Date: Apr 2003
Location: Portugal
Posts: 110
|
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 |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
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 Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#4 |
|
NSIS Dev
Join Date: Feb 2003
Location: Boston, MA, U.S.A.
Posts: 455
|
You can always recompile NSIS with NSIS_MAX_STRLEN set to a larger value.
|
|
|
|
|
|
#5 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
I don't have a decent compiler...
-Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|