I would like to know how to access windows event logs using win32::API
Usually, one would be using Win32::EventLog. Do you really need to use Win32::API ?
Cheers, Rob | [reply] |
Hi Rob,
yes your are correct. By any way (by using Win32::Eventlog)
also is it possible to get Windows Application event logs?
I tried couple of times to get Windows Application event logs
using Win32::EventLog also but no luck :-(
Satya
| [reply] |
Did you read the documentation for Win32::Eventlog? There are working examples there. You tell us you've tried and had 'no luck', unless you show us what you tried and the error message you receive, how can we help?
Update: Also see How do I post a question effectively?.
Martin
| [reply] |
use Win32::EventLog
$handle=Win32::EventLog->new("Application");
That alone should answer the question. | [reply] [d/l] |