WMI or the System.Management.Instrumentation namespace is my answer to
this question.

Exposing the logtraces as a WMI-Event won't give you an automatic popup
of your viewer - you'll need to start your own logviewer explicitly. The
rest of it is quite easy to implement and the performance oft hese logs
look qquite acceptatble.

Lookup the BaseEvent-class and the samples on WMI on how to grab events.


G' night 
        Axel

-----Original Message-----
From: Chris Jenkin [mailto:[EMAIL PROTECTED]]
Sent: Dienstag, 30. April 2002 00:22
To: [EMAIL PROTECTED]
Subject: [DOTNET] Trace question.


I would like to create a trace console for my assemblies. Example: I
write 2
exe's and both use my generic trace class, I would like to pop up a
console
app that takes a peek at what those other 2 applications are doing while
they are running.

Is this possible? Was I vague enough :)

CJ

You can read messages from the DOTNET archive, unsubscribe from DOTNET,
or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to