Report() takes a hash. It should contain the following keys:
This string is not just a text identifier, but also a key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Applicat +ion\"source".
This is used to associate a compiled resource (a .dll) with the event source (application) that contains a RT_MESSAGETABLE of strings.
Those strings are identified by an integer ids (EventID), and can contain substitution placeholders (%1, %2 etc).
The error message is telling you that the "source" identifier cannot be located within the registry. Hence, the text associated with the EventID (which you aren't supplying!) cannot be retrieved. Therefore the string you supply cannot be substituted into it.
In reply to Re: Write to Win32 Event Log, get "/AUXSOURCE=" error
by BrowserUk
in thread [fixed] Write to Win32 Event Log, get "/AUXSOURCE=" error
by wilsond
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |