Re: Component to read and write Application Log



You need the ReportEvent function:
http://www.dragonsoftru.com/articles/EventLog.html

If you need the VCL component, check the TSMNTEventLog from SMLogging:
http://www.scalabium.com/smlog
There is the WriteToEventLog method
--
With best regards, Mike Shkolnik
EMail: mshkolnik@xxxxxxxxxxxxx
http://www.scalabium.com

"Warrick Wilson" <warrickw@xxxxxxxxxxxxxxxxx> wrote in message
news:442cc96b@xxxxxxxxxxxxxxxxxxxxxxxxx
I'm trying to figure out how to fix my application. The logging functions
that I inherited used to work under Windows 2000 and earlier; I've
recently
realized that the output isn't showing up properly in Windows XP.

I've done some Google searching for "delphi" and "application log" and
"write", and JVCL has a component to read the NT Event Log, but I need to
write. My searches showed something about putting together some DLL and
writing to the registry. I suspect that's necessary, but I'm also assuming
(hoping) that there's some component available that has a lot of this
already done.

Any pointers to a component, or a decent tutorial type article that can
step
me thru the process, would be greatly appreciated.

Thanks....Warrick




.