Modify

Opened 15 years ago

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

Download all attachments as: .zip

Change History (8)

Changed 15 years ago by Yashied

The necessary variables and functions

comment:1 Changed 15 years ago by Valik

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

  • Milestone set to 3.3.1.2
  • Resolution set to Fixed
  • Status changed from new to closed

comment:3 Changed 15 years ago by Valik

  • Resolution Fixed deleted
  • Status changed from closed to reopened

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 Changed 15 years ago by Valik

  • Milestone 3.3.1.2 deleted
  • Version 3.3.1.0 deleted

comment:5 Changed 15 years ago by anonymous

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 Changed 15 years ago by Valik

  • Severity changed from None to Blocking

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 Changed 15 years ago by Valik

  • Milestone set to 3.3.1.2
  • Owner changed from Gary to Valik
  • Resolution set to Completed
  • Status changed from reopened to closed

Removed in version: 3.3.1.2

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 Valik.
Author


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

 
Note: See TracTickets for help on using tickets.