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