Re: [perl-win32-gui-users] Problem with graphic application

2010-05-11 Thread Kevin Marshall
Waldemar, Do you mean when you application exits, because Win32::GUI generally takes care of the destruction of any windows on exit. Sometimes, however, you may receive an error along the lines of "Can't call method STORE on an undefined value...". In which case, you can just undef() your wind

Re: [perl-win32-gui-users] Problem with graphic application

2010-05-11 Thread Kevin Marshall
Waldemar, One reason for your controls disappearing might be that they don't have unique names. If you create a control with the same name as an existing control, the previous control is destroyed. A possible solution could be to keep a counter of the number of controls created which could be

[perl-win32-gui-users] Problem with graphic application

2010-05-11 Thread Waldemar Biernacki
Hello! I have a GUI application which from time to time crashes. Buttons, textfield and other object disappear, but not the all. It's very strange because the application can work persistent few hours without problem but sometimes the problem happens few times in one hour. This is an applicatio