|
That a[] is an array of structures,
A button is used to create a thread and pass one of the a array, and increment.
The structure of a is a pointer to class and a pointer to ClistBox
When the button is clicked for the first time, the program is normal, and the error occurs when the button is clicked the second time.
May I ask what kind of situation can cause such a situation to happen |
|