🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7214

Re: Creating a Message DLL for Event Viewer

#7214
From: Blue Knight
Date: Thu, 03 Mar 2005 11:23
23 lines
2164 bytes
Hi Remy,

> 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.

I managed to resolve the problem - I had added the .RC file, but after 
the .RES file in the project file list.  In addition, I was doing a 
Build every time.  Once I did a Make, it seemed to work.

However, I would like to know how to create the .RC file without using 
MC.EXE, do you have any good online references for that?

Thanks again for your help!

Regards,

Bevan
Technical Details
Message-ID: <4226f3a9$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tdsnet-transit!newspeer.tds.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42265e84$1@newsgroups.borland.com> <42267292$2@newsgroups.borland.com> <4226ac34@newsgroups.borland.com> <4226ad9c$3@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: Fri, 04 Mar 2005 00:23:22 +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> <4226ac34@newsgroups.borland.com> <4226ad9c$3@newsgroups.borland.com>
In-Reply-To: <4226ad9c$3@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: <4226f3a9$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1109849001 203.109.148.53 (3 Mar 2005 03:23:21 -0800)
Lines: 23
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tdsnet-transit!newspeer.tds.net!38.119.100.82.MISMATCH!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail