Code: Select all
Critical Error: Invalid memory read/write.
Line#
155: ovAllText := WinGetTextFast(true)
156: }
158: UpdateText("Ctrl_VisText", ovVisText)
159: UpdateText("Ctrl_AllText", ovAllText)
160: }
167: {
168: controls := WinGetControlsHwnd()
172: buf := Buffer(WINDOW_TEXT_SIZE * 2,0)
174: text := ""
176: Loop controls.Length
176: {
177: hCtl := controls[A_Index]
178: If !detect_hidden && !DllCall("IsWindowVisible", "ptr", hCtl)
179: Continue
The program is now unstable and will exit.
Regards,
burque505