Did you ever figure this out? I have been given an executable that has this call in it (which works just fine when run on an XP machine (backing up another remote xp machine):
Win32::EventLog::OpenBackup ($EVTFILE,$SOURCE)
where $EVTFILE = sprintf("%s\\%s_%s.evt",$BACKUP_LOG_DIR,$machine, $log_name);
and $SOURCE = sprintf('\\\\%s',$MACHINE);
and $MACHINE = shift || Win32::NodeName;
But I get the same error when running this executable on a Server 2008 machine, trying to backup the event logs on a remote XP machine.
I don't have the ability to change the code that the executable was compiled from. but perhaps I might be able to update the local DLLs or something else?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.