Re: IDE for Windows

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu