madxnet ist eine Webanwendung, an die über das Internetprotokoll HTTP
madExcept Bugreports gesendet und dort auch ausgewertet werden können.
Ein öffentlicher Testserver ist auf
http://madxnet2.appspot.com/ erreichbar.
Beispiel zum Senden eines madExcept Bugreports an madxnet:
Delphi-Quellcode:
program madxnetTest;
{$APPTYPE CONSOLE}
uses
madExcept, SysUtils;
procedure MyHandler(
const exceptIntf: IMEException;
var handled: boolean);
begin
exceptIntf.MailViaMapi := False;
exceptIntf.MailViaMailto := False;
exceptIntf.UploadViaHttp := True;
exceptIntf.HttpServer := '
http://madxnet2.appspot.com/newbugreport';
exceptIntf.HttpAccount := '
test';
// public API account user name
exceptIntf.HttpPassword := '
test';
// public API account password
AutoSendBugReport(exceptIntf.BugReport, exceptIntf.ScreenShot, exceptIntf);
end;
begin
madExcept.DetectConsole := false;
RegisterExceptionHandler(MyHandler, stDontSync);
StrToInt('
this will raise an exception');
end.
Viele Grüße