Subject: | MessageBox calls in leashw32.dll cause problems for non-interactive applications |
The leashw32.dll is filled with calls to MessageBox(). The assumption
was that if an error occurred within the krb5 library that it should be
displayed to the end user. The problem is that KFW is no used only for
interactive applications and even when it is the generation of
MessageBoxes from the library as opposed to reporting the errors to the
application and letting the application interact with the user is
(perhaps) a poor choice.
Attached is a patch that disables all of the MessageBox calls within
leashw32. It permits USE_MESSAGE_BOX to be specified at compile time in
order to re-enable the MessageBox calls.
was that if an error occurred within the krb5 library that it should be
displayed to the end user. The problem is that KFW is no used only for
interactive applications and even when it is the generation of
MessageBoxes from the library as opposed to reporting the errors to the
application and letting the application interact with the user is
(perhaps) a poor choice.
Attached is a patch that disables all of the MessageBox calls within
leashw32. It permits USE_MESSAGE_BOX to be specified at compile time in
order to re-enable the MessageBox calls.
Message body not shown because it is not plain text.