Hi all
I am trying to develop a COM component (say,
MyErrComponent) which logs application ( clients of
MyErrComponent) errors/events into a log file. I want
to use the NT EventLogging API to accomplish this…
I would like to know whether it is possible for
applications to log events into a file other than
default ‘Application’ (AppEvent.evt) log file (nor the
‘Security’ and ‘System’ log files)…
I do not want to change the (AppEvent.evt) file name
from the registry or anything… What i’m looking for
is a way to put only my subscribed client’s events
into some MyOwn.evt file using the APIs… And not
effect the other applications entries into the
‘Application’ log file…
I really havent found any answer to this even after
searching a lot.
AFAIK neither RegisterEventSource nor OpenEventLog
allows one to open a log file other than the standard
ones…Plz correct me if I’m wrong.
Any help, pointer/reference will be highly
appreciated.
Thanks in advance,
Anu.
Do You Yahoo!?
For regular News updates go to http://in.news.yahoo.com
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com