I can't exactly answer your question, but I have code that creates and
writes to a custom event log (that is, not Application, System, or
Security.)  I based it on code I found here:
http://www.thedelphimagazine.com/samples/1655/1655.htm
and also used this:
http://oldlook.experts-exchange.com/Programming/Programming_Languages/De
lphi/Q_20733243.html

I'd be happy to try to answer questions about it or send you some code,
but I've turned off the list mail as I'm going to be out until the 20th.

David


-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Chris @ IT
Sent: Saturday, July 09, 2005 2:02 PM
To: [email protected]
Subject: Re: Re:RE: [delphi-en] Event Log

found something that might help
havent tested yet but looks promising...

http://www.ftponline.com/archives/premier/mgznarch/vbpj/2001/09sep01/lj0
109/
lj0109-2.asp

chris
----- Original Message -----
From: "Walter Prins" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Saturday, July 09, 2005 6:58 PM
Subject: Re:RE: [delphi-en] Event Log


> Hi,
>
> > Has anyone got an answer to this?
>
> >
> > Hi
> >
> > I have a service application that logs into the windows event log. 
> > But i always get this message below first
> >
> > The description for Event ID ( 0 ) in Source ( smsanyoneout.exe ) 
> > cannot be found. The local computer may not have the necessary 
> > registry
information
> > or
> > message DLL files to display messages from a remote computer. You 
> > may be able to use the /AUXSOURCE= flag to retrieve this 
> > description; see Help and Support for details. The following 
> > information is part of the event:
> > <***my
> > message comes here***>
>
> I've also had substantial struggles with this some time ago.  As I 
> recall you're supposed to register a resource dll with requisite 
> string resources in order for this message to go away, or you have to 
> bind it into your application exe file and register it in the 
> appropriate place... (can't remember where, will google in a moment.)

> I never could quite manage to
get
> that to work properly.   There's also a free component which is
supposed
to
> take care of all the registration and resource requirements for you, 
> AFPEventLog, but this didn't work for me either.  (It worked inasmuch 
> as
it
> put entries into the event log, but still with the attendant error 
> message that you're trying to eliminate.)  Maybe it works works for 
> you, if so I'd like to know what you did.  You can download it from 
> here:http://www.delphi32.com/vcl/2334/download,xid,2334.asp
>
> Also, here's more relevant discussions etc. on this topic here (I seem

> to remember having referred to Colin Wilons's posts last time I tried 
> to
solve
> this issue, very good apart from the fact that I couldn't make it
work!):
>
http://groups.google.co.uk/group/borland.public.delphi.language.objectpa
scal
/msg/976b09e8cf65e325?hl=en
> and here:
>
http://groups.google.co.uk/group/borland.public.delphi.winapi/browse_frm
/thr
ead/bf889067169d7e96/ec945d1ef59a7c07?tvc=1&hl=en#ec945d1ef59a7c07
>
> Anyway HTH (and please post back if you make progress with this)
>
> Thanks
>
> Walter
>
>
>
> -----------------------------------------------------
> Home page: http://groups.yahoo.com/group/delphi-en/
> To unsubscribe: [EMAIL PROTECTED]
> Yahoo! Groups Links
>
>
>
>
>
>
>



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links



 



-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to