Re: Win32Lib bug in registerControl()
- Posted by ghaberek (admin) Mar 13, 2012
- 1289 views
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.
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