Article View: borland.public.cppbuilder.nativeapi
Article #7211Re: Creating a Message DLL for Event Viewer
From: Blue Knight
Date: Thu, 03 Mar 2005 06:18
Date: Thu, 03 Mar 2005 06:18
21 lines
1637 bytes
1637 bytes
Hi Remy, > Simply add the .rc file to a DLL project, compile, and register the DLL in > the Registry as described by MSDN. Then include the .h file into your > application that is logging events. I thought I'd done that, but I'll try again. >>- the Event Viewer doesn't seem to recognise the DLL I have created as > being a valid Message DLL. > > Did you register the DLL in the first place? You mean by writing into HKLM\System\CurrentControlSet\EventLog\(MyApp)\etc? Yes, I've done that. I also made sure that the keys created were similar to those that already existed. Regards, Bevan
Technical Details
Message-ID:
<4226ac34@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42265e84$1@newsgroups.borland.com> <42267292$2@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d515e208fe2afebe X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 03 Mar 2005 19:18:29 +1300 From: Blue Knight <bevan231X@Xhotmail.com> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Creating a Message DLL for Event Viewer References: <42265e84$1@newsgroups.borland.com> <42267292$2@newsgroups.borland.com> In-Reply-To: <42267292$2@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 203.109.148.53 Message-ID: <4226ac34@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109830708 203.109.148.53 (2 Mar 2005 22:18:28 -0800) Lines: 21 Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.maxwell.syr.edu!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail