Hello,
accoridng to this topic :(
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_24854034.html) I've got a good idea to get the eventlog messages with the JEDI JvNTEventLog component. Unfortunately I later observed that the JvNTEventLog1.EventRecord.
MessageTex
t method does'n give back the correct text (what I can read in the event viewer).
Example:
In the Win Event viewer:
The Handy Backup Service for Norbi service was unable to log on as .\Norbi with the currently configured password due to the following error:
Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.
To ensure that the service is configured properly, use the Services snap-in in Microsoft Management Console (MMC).
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
The same log from the JvNTEventLog.EventRecord.M
essageText
:
The Handy Backup Service for Norbi service was unable to log on as .\Norbi with the currently configured password due to the following error: %%1327
To ensure that the service is configured properly, use the Services snap-in in Microsoft Management Console (MMC).
It seem thats the MessageText can't handle special characters in the message or any other idea?