Adding Events to the EventLog in Windows
Posted: Thu Nov 11, 2021 10:44 pm
Is it possible to log events in the EventLog of Windows using FiveWin?
Thanks,
Byron ...
Thanks,
Byron ...
www.FiveTechSoft.com
https://forums.fivetechsupport.com/~fivetec1/forums/
https://forums.fivetechsupport.com/~fivetec1/forums/viewtopic.php?t=41054
Code: Select all | Expand
#require "hbwin"
PROCEDURE Main()
? win_ReportEvent( NIL, "Application", WIN_EVENTLOG_SUCCESS, 0, 0, "hello" )
? win_ReportEvent( NIL, "Application", WIN_EVENTLOG_SUCCESS, 0, 0, { "hello", "world" } )
RETURN