Article View: borland.public.cppbuilder.nativeapi
Article #7212Re: Creating a Message DLL for Event Viewer
From: Remy Lebeau (TeamB)
Date: Thu, 03 Mar 2005 06:22
Date: Thu, 03 Mar 2005 06:22
23 lines
1870 bytes
1870 bytes
"Blue Knight" <bevan231X@Xhotmail.com> wrote in message news:4226ac34@newsgroups.borland.com... > You mean by writing into > HKLM\System\CurrentControlSet\EventLog\(MyApp)\etc? Yes. > Yes, I've done that. I also made sure that the keys created > were similar to those that already existed. Assuming that the Registry settings are accurate, then the only reason for the DLL to not work is if the message table in the DLL's resources is not set up properly during compile-time. Since you did not show the contents of the .rc or .h files, I cannot comment on whether they were generated properly by mc.exe. I can tell you, though, that mc.exe is not required in the first place, despite what Microsoft's documentation tries to suggest. I have services of my own that I wrote to use message tables using hand-written .rc files, and they work just fine in the Event Viewer. Gambit
Technical Details
Message-ID:
<4226ad9c$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<42265e84$1@newsgroups.borland.com> <42267292$2@newsgroups.borland.com> <4226ac34@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 From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42265e84$1@newsgroups.borland.com> <42267292$2@newsgroups.borland.com> <4226ac34@newsgroups.borland.com> Subject: Re: Creating a Message DLL for Event Viewer Date: Wed, 2 Mar 2005 22:22:03 -0800 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <4226ad9c$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1109831068 68.69.17.41 (2 Mar 2005 22:24:28 -0800) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail