NathanProbst
08-Apr-2006, 09:50 PM
Hi! I'm evaluating EurekaLog...
I'd like to be able to decide in code if the exception dialog is shown. I think this works (from the help):
// Show exception dialog?
procedure MyNotify(ExcRecord: TEurekaExceptionRecord; var Handled: Boolean);
begin
with ExcRecord.CurrentModuleOptions do
begin
if (MessageBox(0, 'Do you want to show error details?', 'Question',
MB_YESNO or MB_ICONQUESTION or MB_TASKMODAL) = ID_YES) then
ExceptionDialogOptions := (ExceptionDialogOptions + [edoShowExceptionDialog])
else
ExceptionDialogOptions := (ExceptionDialogOptions - [edoShowExceptionDialog]);
end;
end;
What I'm not sure about is how to send the error report to the web, even when I choose not to display it to the user?
Any ideas?
Thanks,
Nathan Probst
I'd like to be able to decide in code if the exception dialog is shown. I think this works (from the help):
// Show exception dialog?
procedure MyNotify(ExcRecord: TEurekaExceptionRecord; var Handled: Boolean);
begin
with ExcRecord.CurrentModuleOptions do
begin
if (MessageBox(0, 'Do you want to show error details?', 'Question',
MB_YESNO or MB_ICONQUESTION or MB_TASKMODAL) = ID_YES) then
ExceptionDialogOptions := (ExceptionDialogOptions + [edoShowExceptionDialog])
else
ExceptionDialogOptions := (ExceptionDialogOptions - [edoShowExceptionDialog]);
end;
end;
What I'm not sure about is how to send the error report to the web, even when I choose not to display it to the user?
Any ideas?
Thanks,
Nathan Probst