Re: Registering message DLL for Win32::EventLog

2009-06-24 Thread Angelos Karageorgiou
and been pedantic today , for perlapp users , compile with --bind msg.dll[file=msg.dll,extract,mode=666] and use with my $filename = PerlApp::extract_bound_file("msg.dll"); die "msg.dll not bound to application\n" unless defined $filename; $filename is your dll's full path to be used with Bri

Re: Registering message DLL for Win32::EventLog

2009-06-24 Thread Angelos Karageorgiou
Brian H. Oak wrote: [deleted] > > I used the tools in the Windows SDK to compile messages.mc into msg.dll: > > mc messages.mc > rc -r messages.rc > link -machine:i386 -dll -noentry -out:msg.dll messages.res > [deleted] many many thanks Brian , msg.dll was a life saver ! I have also incorporated

RE: Registering message DLL for Win32::EventLog

2009-06-23 Thread Brian H. Oak
ian -Original Message- From: perl-win32-users-boun...@listserv.activestate.com [mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of David Dick Sent: Tuesday, June 23, 2009 05:06 To: perl-win32-users@listserv.ActiveState.com Subject: Re: Registering message DLL for Win32::EventLog On 23/06/09

Re: Registering message DLL for Win32::EventLog

2009-06-23 Thread David Dick
On 23/06/09 15:15, Dax T. Games wrote: > You could also have used Win32::Eventlog::Message. > > Much easier, less hassle. If you could post working samples of code I would > appreciate it. I never could get the perlmonks linked info to work properly > for me. > > I missed the original email

Re: Registering message DLL for Win32::EventLog

2009-06-23 Thread Angelos Karageorgiou
Dax T. Games wrote: You could also have used Win32::Eventlog::Message. Much easier, less hassle. If you could post working samples of code I would appreciate it. I never could get the perlmonks linked info to work properly for me. ppd does not install :-( begin:vcard fn:Angelos Karageorgi

Re[2]: Registering message DLL for Win32::EventLog

2009-06-22 Thread Dax T. Games
> > >-Original Message- >From: Mark Leighton [mailto:mark.leigh...@utoronto.ca] >Sent: Friday, June 12, 2009 10:06 >To: Brian H. Oak >Subject: Re: Registering message DLL for Win32::EventLog > >You just need to add registry values under the EventLog service registry >k

RE: Registering message DLL for Win32::EventLog

2009-06-22 Thread Brian H. Oak
[mailto:mark.leigh...@utoronto.ca] Sent: Friday, June 12, 2009 10:06 To: Brian H. Oak Subject: Re: Registering message DLL for Win32::EventLog You just need to add registry values under the EventLog service registry key indicating where to find your source's message file. See http://www.perlmonk

Registering message DLL for Win32::EventLog

2009-06-11 Thread Brian H. Oak
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