http://qs1969.pair.com?node_id=743046


in reply to Win32::EventLog: how to convert EventLog hash to text

What does Win32::GetLastError() print?

Replies are listed 'Best First'.
Re^2: Win32::EventLog: how to convert EventLog hash to text
by Eyck (Priest) on Feb 11, 2009 at 12:51 UTC
    1337 (oh wait, no, this one probably comes from SID-resolving subroutine),

    without it, it either says '0' or '997'.

    The only nice error code is '317' which seems to be '317 The system cannot find message text for message number 0x%1 in the message file for %2.'