Hi again,
Found a solution I think (worked for me anyway)
Change line 1146 from "if (scanout != NULL)" to "if (scanout != NULL && reportswitch > 1)". This isn't really a solution because scanout should be NULL, but this additional test did the trick. Should point out that i have reporting switch off (so reportswitch is 0). Looks like scanout may not be initialised? I didn't check.
One other issue I found with ESET Nod32 is that is didn't like having additional "" marks around it. Changed the command line to exclude them and it works. For example, the output to the command system WAS:
IF 1==1 ""ecls.exe" –no-boots –scan-timeout=20 –sfx –rtp –adware –pattern –heur –adv-heur –action=clean –no-quarantine "F:\Lotus\Domino\data\MailScan\10662\1""
is NOW
IF 1==1 "ecls.exe" –no-boots –scan-timeout=20 –sfx –rtp –adware –pattern –heur –adv-heur –action=clean –no-quarantine "F:\Lotus\Domino\data\MailScan\10662\1"
Just a head up. There is also an assertion failure in your stristr code. Couldn't be bothered finding it. release copy works of course, but fails to add text to the body of the document. This I can live without for the time being. Adding text to the subject is working. Could be another issue, but didn't have time.
Thanks, Paul.