View previous topic :: View next topic |
Author |
Message |
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Fri Apr 15, 2016 3:56 pm Post subject: Estimating the stack requirements for BIG list selections |
|
|
I am trying to estimate the additional stack/heap requirements for large list selections controls (%ls). Some of the %ls controls have as many as 5000 items of 16 characters each. When I'm creating the dialog for use, I get a crash without a call back to tell me why. I make the possible list smaller (1/2 size) and all runs fine.
Is the memory for the control allocated in the stack or the heap, and how much "room" is expected for such controls?
Also is there a way to see how much of the stack or heap one is currently using? This would be a great way to see how close to the edge I've taken the code!
Bill |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7924 Location: Salford, UK
|
|
Back to top |
|
|
wahorger
Joined: 13 Oct 2014 Posts: 1217 Location: Morrison, CO, USA
|
Posted: Fri Apr 15, 2016 6:24 pm Post subject: |
|
|
Thanks, Paul. This answers the question precisely. I'll have to re-think and re-work the human interface with this in mind. |
|
Back to top |
|
|
|