Hi Viktor,

It seems that returning EXCEPTION_EXECUTE_HANDLER (instead of EXCEPTION_CONTINUE_SEARCH) suppresses the Windows GPF dialog and allows the app to exit immediately.

Regards,
Randy.

At 02:34 PM 9/23/2008, you wrote:

Hi Randy,

Hi all,

I suggest the following changes to EXTAP.C:

1. The log should be closed BEFORE any alert messages are displayed.

True and thanks, I'll commit this ASAP.

2. There needs to be a way to suppress any alert messages (ie.
create log and exit) for applications that do not require user
activity (eg. server programs).

How about making GPF a simple internal error call?

[ I'd personally avoid any MessageBox() calls from any
Harbour core or contrib code. ]

To suppress .log file, I'll modify the code to explicitly
not try to create a log file if the _SET_HBOUTLOG filename
is empty, but this probably works even now.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour


_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to