Re: Win32Lib bug in registerControl()

new topic     » goto parent     » topic index » view thread      » older message » newer message
DerekParnell said...

Ok, that's my problem. I'll fix it tonight (in about 6-8 hours from now).

Poking around, I thought I could just add an if statement like this:

if lClass != -1 then 
    classType[lControl] = classType[lClass] 
end if 

...then things broke even worse later on. getlost

C:\EUPHORIA\Win32Lib\Include\win32lib.ew:26314 in function registerControl() 
subscript value -1 is out of bounds, reading from a sequence of length 62 

Which is this line:

26314    classKbdInput[lControl] = call_func(pRID[kCRID_Control], {"classKbdInput", classKbdInput[lClass]}) 

-Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu