I have one large CWP window called Settings with many tabs in its %ps which contains references and controls all variables and features of the code.
That window when i close it or just escape from it by %ac[esc] (even by opening it and not doing anything immediately close it) almost always crashes the whole code. Other smaller windows containing %ps never crash. The code also never crash if i open it in debugger so debugger keeps mum about source of the problem while the bug was not possible to find for years.
I use SAVE statement as Paul suggested few years back which at some point helped against the crashes but alas, not anymore. I checked all undefined variables - everything is clean. If i make the code compatible with XP serv.pack3 as Paul also suggested, then i get approximately 3-4 times opening/closing OK and then again with 100% probability the code crashes. Any new suggestions how to catch the super roach ?