I have created and compiled my own message table DLL, and I am trying to
figure out how to register it so that Windows Event Log will use it for
Event ID lookup for events that are sourced from my application.

I am familiar with Win32::EventLog::Message by Dave Roth, but it will only
register its own Message.DLL file.  I tried replacing that file with my own,
but Roth's Message.DLL file apparently contains some required XS code as
well.  In addition to that problem, I have to wonder if Roth's module would
publish correctly with my PerlSvc application.

I have both of Dave Roth's Win32 Perl books, and he hints in one about
rolling your own message DLL and registering it for use.  But it's only a
hint and no specifics are provided.  The POD for Win32::EventLog contains
this cryptic sentence: "The EventID field should contain the ID of the
message that this event pertains too. This assumes that you have an
associated message file (indirectly referenced by the field Source)."

So I know that I need a message DLL to be registered or associated with my
event source.  I have gone to great lengths to compile just such a file of
my own.  I simply can't figure out how to register the file in which I have
invested so much time and effort.  Will someone please show me the light?

Thank you,

-Brian


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to