- or download this
Event Type: Information
Event Source: MyAppName
Event Category: None
...
Computer: COMPUTER-NAME
Description:
The description for Event ID ( 0 ) in Source ( MyAppName ) cannot be f
+ound. The local computer may not have the necessary registry informat
+ion or message DLL files to display messages from a remote computer.
+You may be able to use the /AUXSOURCE= flag to retrieve this descript
+ion; see Help and Support for details. The following information is p
+art of the event: This is a test log entry..
- or download this
use Win32::EventLog;
...
EventType => EVENTLOG_INFORMATION_TYPE,
Strings => qq(This is a test log entry.),
});
- or download this
MessageIdTypedef=WORD
LanguageNames=(English=0x409:MSG00409)
...
Language=English
%1
.
- or download this
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Applica
+tion\MyAppName]
"TypesSupported"=dword:00000007
"CustomSource"=dword:00000001
"EventMessageFile"="C:\\the-location-that-your-eventlog.dll-will-be-in
+stalled\\EventLog.dll"
- or download this
use Win32::EventLog;
my $eventLog = Win32::EventLog->new('MyAppName');
...
});
$eventLog->Close();