Modify

Opened 17 years ago

Closed 16 years ago

#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 17 years ago.
The necessary variables and functions

Download all attachments as: .zip

Change History (8)

by Yashied, 17 years ago

Attachment: SetCheckMethod.au3.txt added

The necessary variables and functions

comment:1 by Valik, 17 years ago

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

Milestone: 3.3.1.2
Resolution: Fixed
Status: newclosed

comment:3 by Valik, 17 years ago

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, 17 years ago

Milestone: 3.3.1.2
Version: 3.3.1.0

comment:5 by anonymous, 17 years ago

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, 17 years ago

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, 16 years ago

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.