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 J-Paul Mesnage, 11 years ago

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

comment:2 by guinness, 11 years ago

Milestone: 3.3.13.20
Owner: set to guinness
Resolution: Fixed
Status: newclosed

Fixed by revision [11104] in version: 3.3.13.20

Modify Ticket

Action
as closed The owner will remain guinness.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.