Caution: this is old EurekaLog 6 documentation. This is not the latest version.
Some examples:
// Attach the "C:\Windows\Notepad.exe" and "C:\AutoExec.bat" files to the sending message. procedure MyAttachedFiles(EurekaExceptionRecord: TEurekaExceptionRecord; AttachedFiles: TStrings); begin AttachedFiles.Add('C:\Windows\Notepad.exe'); AttachedFiles.Add('C:\AutoExec.bat'); end;
// Clear all attached files (screenshot last HTML page, ...) and add the "C:\Config.sys" file. procedure MyAttachedFiles(EurekaExceptionRecord: TEurekaExceptionRecord; AttachedFiles: TStrings); begin AttachedFiles.Clear; // Clear all EurekaLog attached files (as screenshot, last HTML page,...) AttachedFiles.Add('C:\Config.sys'); end;
|