Script corruption

I seem to be having a script corruption problem. I have a simple script. A button on a form that posts an event to the script. The event causes the script to print a msg to the screen. When I click the button a little over 300 times, I get an exception (Access Violation)?

Is there anything I can do to help find why or where the script may be getting corrupted? MadExcept shows that there are no memory leaks.
I have gone over and over and can’t find the smoking gun.

I hope there is something I can do that will help diagnose the problem…


Try fastmm with the memory checker options?