[SOLVED] Windows Event Log Management
-
wrote on 5 Oct 2011, 08:16 last edited by
Hi. I'm trying make Event log sender with Qt for Windows systems. But i cant find any document on internet. With VC++ and .Net more examples on the web. But i dont want to use VC++. Any idea about this?
Best regards.
Hakan.
-
wrote on 5 Oct 2011, 08:39 last edited by
What is an event log sender?
-
wrote on 5 Oct 2011, 08:44 last edited by
For example, reads windows security logs and send these over UDP 514 port, to another syslog server on LAN. Or read windows system logs and showing them to user like "Windows Event Viewer" http://windows.microsoft.com/en-US/windows-vista/Open-Event-Viewer on the public computer.
First step i just want to see windows event logs on any form. And then i will send it over UDP port. I just need to know, how can i get an event log in to my form.
Regards.
Hakan. -
wrote on 5 Oct 2011, 08:48 last edited by
There's no Qt API for that.
You will have to access the event log with Windows API calls.
You can mix Windows API code and Qt code without problems. -
wrote on 5 Oct 2011, 08:50 last edited by
Thanks for idea jobor. I will try to make it like you said. (:
-
wrote on 7 Oct 2011, 07:12 last edited by
OpenEventLog and ReadEventLog is what i meant. I wrote very simple code for testing and it's worked. Thanks a lot (:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363672(v=vs.85).aspx
1/6