I want to read events from the windows EventLog. I found two opportunities yet: WMI and API-Commands. But at the moment I use the JvNTEventLog componente from the JEDI VCL (JVCL) (Maybe it uses the API, I don't know). But I have some trouble with it. For example the the command "JvLog.EventRecord.Computer" should show me the computername. This works with the Security Log (says John-PC), but in the System Log and in the Application Log it's just empty. But instead the "JvLog.EventRecord.Source" which shows "uditing" in the Security Log shows my computername in the System Log, but cut off. Now it's "n-PC". Also I'm not able to read the "JvLog.EventRecord.Message". In the System and Application Log it's encrypted. The "JvLog.EventRecord.EventString" is also encrypted, band in the Security Log it looks just mixed and wired. So would it be easier to work directly with the API commands? Or should I use the WMI methode?
Thanks :)