Re: IDE for Windows
- Posted by CChris <christian.cuvier at agricult?re.g?uv.fr> Feb 02, 2008
- 783 views
John Spikowski wrote: > > Judith Evans wrote: > > > > Judith Evans wrote: > > > > Forget my last suggestion. I've found the problem. > > > > Using Win32lib v0.70.3 with IDE hangs trying to access data from a ListView > > in Configurations. > > > > I have been testing Chris's next release which works fine with IDE. I just > > now > > realised we were more than likely using different win32libs. > > > > I'm sorry it took me so long to find the problem. You might contact Chris > > for > > a patch if updating configurations is critical for you. > > > Judith, > > I'm fine till you guys figure out the solution. I was just reporting a problem > I ran into with the IDE. > > I'm happy you were able to reproduce the issue. > > John Indeed, this issue had been already spotted and has a fix: In win32lib.ew, locate the getLVItemText() function, and in the body of that function, find the line:
lrc = sendMessage(id, LVM_GETITEM, 0, lvitem)
Right after this line, add:
if w32buffer_address(lvitem,LVITEM_pszText)=#FFFFFFFF then lrc=0 end if
and the text retrieval that was running forever will work right again. CChris