Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. EventLog

EventLog

Scheduled Pinned Locked Moved C / C++ / MFC
helpsysadminwindows-adminsecurityjson
2 Posts 2 Posters 0 Views 1 Watching
  • 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.
  • S Offline
    S Offline
    shadrach_india
    wrote on last edited by
    #1

    Hi i have one issue regarding EventLogType of event viewer. I have written code for reading all events from event viewer. for getting event log type name like application, system and security, I refer registry path (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog). Form this path, I come to know how many event log type are and using the keyname, I read the event logs information. My problem is that One machine (windows 2000 server) the eventlog names are differ from registry with eventviewer. Ex. In registry Application In EventViewer . Application Logs So I could not get the log information from event log viewer I am using OpenEventLog() API Thanks By . Shadrach

    H 1 Reply Last reply
    0
    • S shadrach_india

      Hi i have one issue regarding EventLogType of event viewer. I have written code for reading all events from event viewer. for getting event log type name like application, system and security, I refer registry path (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog). Form this path, I come to know how many event log type are and using the keyname, I read the event logs information. My problem is that One machine (windows 2000 server) the eventlog names are differ from registry with eventviewer. Ex. In registry Application In EventViewer . Application Logs So I could not get the log information from event log viewer I am using OpenEventLog() API Thanks By . Shadrach

      H Offline
      H Offline
      Hamid Taebi
      wrote on last edited by
      #2

      I saw an example on codeproject about event viewer did you see it?:)


      WhiteSky


      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups