Re: IDE crash working with ListViews
- Posted by Judith Evans <camping at ccew?.?et> May 29, 2008
- 670 views
marky1124 wrote: > > Hi Judith, > > I hope you are reading the forum and open to a request for a bug fix. I'm > using > IDE 1.0.3b which is bound against win32lib v0.70.4. I've been getting fairly > regular crashes whilst working with ListViews, the crash displays the > following > error: > > Error code 472 > getRect:GetWindowRect failed > > Win32Lib v0.70.4 15-Mar-2008Runtime error (Traceback unavailable) > > > So there's a bug here with remembering the "Single Click Activate" setting as > well as the two types of crash. > > Please let me know if I can provide any further information. > > Cheers, > Mark Yes, there are windows in IDE that are crashing with getRect:GetWindowRect failed. What is happening is that I thought I was being clever to destroy and recreate windows. What I did is at the top of many window's createEx statements I added a statement "if 'name of window' = -1 then" followed by the createEx statments and end if. Later when the user closed the window I destroyed it and set the 'name of window' to -1. This has turned out to be not suce a bright idea and I am gradually changing IDE. What I have been doing is removing the if 'window name' = -1 statements and finding the associated destroy statement and removing it as well as the following 'window name' = -1 statement. I was hoping to have everything ready to release in May except there is an enhancement to Code Editor that does not play with the test version of Win32lib but does work fine with the Mar-15 version. Until that is worked out I can not release IDE unless I temporarily remove the new feature which I don't want to do. I don't know what change from the Mar 15 win32lib to the testing Win32lib may be affecting the feature. I didn't know about the bug remembering the "Single Click Activate" setting. I'll fix that as well; thanks. What I am leading up to is I have no idea when IDE will be next released. judith