Modify

Opened 10 years ago

Closed 10 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 Changed 10 years ago by Jpm

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 Changed 10 years ago by guinness

  • Milestone set to 3.3.13.20
  • Owner set to guinness
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11104] in version: 3.3.13.20

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain guinness.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.