Jump to content

Write to Windows event log: Difference between revisions

({{omit from|ZX Spectrum Basic}})
Line 2:
Write script status to the Windows Event Log
 
=={{header|C sharp|C#}}==
In Windows Vista and later or Windows Server 2003, you must have administrative privileges to execute this code.
<lang csharp>using System.Diagnostics;
Line 24:
}
}</lang>
 
=={{header|Delphi}}==
<lang Delphi>program WriteToEventLog;
506

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.