Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Windows Event Log Management

[SOLVED] Windows Event Log Management

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 6.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    hdarama
    wrote on 5 Oct 2011, 08:16 last edited by
    #1

    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.

    http://www.d-programming-language.org/

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jobor
      wrote on 5 Oct 2011, 08:39 last edited by
      #2

      What is an event log sender?

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hdarama
        wrote on 5 Oct 2011, 08:44 last edited by
        #3

        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.

        http://www.d-programming-language.org/

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jobor
          wrote on 5 Oct 2011, 08:48 last edited by
          #4

          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.

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hdarama
            wrote on 5 Oct 2011, 08:50 last edited by
            #5

            Thanks for idea jobor. I will try to make it like you said. (:

            http://www.d-programming-language.org/

            1 Reply Last reply
            0
            • H Offline
              H Offline
              hdarama
              wrote on 7 Oct 2011, 07:12 last edited by
              #6

              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

              http://www.d-programming-language.org/

              1 Reply Last reply
              0

              5/6

              5 Oct 2011, 08:50

              • Login

              • Login or register to search.
              5 out of 6
              • First post
                5/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved