Modify

#1112 closed Feature Request (Completed)

Add _WinAPI_SetCheckMethod() and modify _WinAPI_Check()

Reported by: Yashied Owned by: Valik
Milestone: 3.3.1.2 Component: Standard UDFs
Version: Severity: Blocking
Keywords: Cc:

Description

A lot of people "suffer" when using _WinAPI_... functions which contain a _WinAPI_Check(). In most cases there is no reason to "fatal" exit the program. For example, when using the _WinAPI_DestroyIcon(). I believe that users need to be able to disable this option, and offers a simple approach to solving this problem without rewriting _WinAPI_... functions and maintaining full compatibility with the previously written programs.

Attachments (1)

SetCheckMethod.au3.txt (1.3 KB ) - added by Yashied on Aug 6, 2009 at 1:22:35 AM.
The necessary variables and functions

Download all attachments as: .zip

Change History (8)

by Yashied, on Aug 6, 2009 at 1:22:35 AM

Attachment: SetCheckMethod.au3.txt added

The necessary variables and functions

comment:1 by Valik, on Aug 6, 2009 at 1:32:05 AM

Most, if not all of these errors are already removed in the next beta. In the future (before the next stable release, so sometime in the beta period) all non-fatal fatal errors are going to be removed from the language.

comment:2 by Jpm, on Aug 6, 2009 at 11:07:20 PM

Milestone: 3.3.1.2
Resolution: Fixed
Status: newclosed

comment:3 by Valik, on Aug 7, 2009 at 4:18:44 PM

Resolution: Fixed
Status: closedreopened

I'm not sure why you closed this ticket, JP. You are still using __WinAPI_Check() all over the place in the code. The function itself is still in the code. In other words, this ticket is not complete because my statement of "all non-fatal fatal errors are going to be removed from the language" isn't even remotely close to being true.

I'm re-opening this ticket until it's actually complete.

comment:4 by Valik, on Aug 7, 2009 at 4:19:01 PM

Milestone: 3.3.1.2
Version: 3.3.1.0

comment:5 by anonymous, on Aug 11, 2009 at 6:42:14 AM

This cuts both ways. On the one hand _WinAPI_Check() is not needed. The user is able to identify the error. On the other hand removal of this functions may lead to incompatibility in the "old programs" or to more serious mistakes.

comment:6 by Valik, on Aug 30, 2009 at 8:02:45 PM

Severity: NoneBlocking

Setting as blocking. This needs done before the next beta (I think it may be done now but I need to double check).

comment:7 by Valik, on Sep 20, 2009 at 11:18:20 PM

Milestone: 3.3.1.2
Owner: changed from Gary to Valik
Resolution: Completed
Status: reopenedclosed

Removed in version: 3.3.1.2

Modify Ticket

Action
as closed The owner will remain Valik.

Add Comment


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