Modify ↓
Opened 11 years ago
Closed 11 years ago
#2908 closed Bug (Fixed)
_ScreenCapture_Capture crash
| Reported by: | anonymous | Owned by: | guinness |
|---|---|---|---|
| Milestone: | 3.3.13.20 | Component: | Standard UDFs |
| Version: | 3.3.12.0 | Severity: | None |
| Keywords: | screencapture, crash | Cc: |
Description
_WinAPI_DeleteObject($aIcon[4]) - line 18 of the Func _ScreenCapture_Capture
This line is crashing the script if _WinAPI_GetIconInfo will false to work. It Happened to me and crashed the script. Failproof of checking the last error is needed.
Attachments (0)
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
| Milestone: | → 3.3.13.20 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [11104] in version: 3.3.13.20
Note:
See TracTickets
for help on using tickets.

Can you have a repro script as I cannot understand what you are saying.
the _WinAPI_DeleteObject($aIcon[4]) is not executed if a bad return occured from _WinAPI_GetIconInfo()
Thanks