Hi,
I would like to
extent our Smalltalk application with the functionality that it can write
messages into the event log of the windows machine it is running
on.
Has some one any
idea how you can do this from Smalltalk.
Our application is
using vw 7.4.1.
Target OS, is
Windows server 2003 and higher.
mvg
Stefaan
Stefaan
Denolf
[hidden email] ..................................................................... MediaGeniX
NG This e-mail and any files attached with it are confidential
and intended only for the use of the individual(s) or entity to whom they are
addressed. |
Hello Stefaan.
Hi, I would like to extent our Smalltalk application with the functionality that it can write messages into the event log of the windows machine it is running on. Has some one any idea how you can do this from Smalltalk. Our application is using vw 7.4.1. Target OS, is Windows server 2003 and higher. mvg Stefaan Stefaan Denolf [hidden email] ..................................................................... MediaGeniX NG This e-mail and any files attached with it are confidential and intended only for the use of the individual(s) or entity to whom they are addressed.
pic31361.gif (1K) Download Attachment |
Tom's answer was
great, but calling a DOS exe for every event might not be appropriate for
some cases. I thought I'd look for the simple Windows DLL call to record an
event... It actually looks rather tricky: the official MS process for Win32 is
described here (Vista has a new way, but presumably supports this old way
too):
It looks like this
hard-codes the events you can log into a new DLL.
Luckily, the topic
has been discussed on comp.lang.smalltalk, and a better solution
posted:
There are a couple
more messages: search groups.google.com for:
registereventsource
reportevent smalltalk
HTH,
Steve
graycol.gif (144 bytes) Download Attachment |
In reply to this post by Gruenewald, Tom
Hi,
thanks for the input, i will give it a
try
mvg
Stefaan From: Steven Kelly [mailto:[hidden email]] Sent: vrijdag 26 oktober 2007 11:48 To: [hidden email] Cc: Stefaan Denolf Subject: RE: Antwort: How to write in the windows event log Tom's answer was
great, but calling a DOS exe for every event might not be appropriate for
some cases. I thought I'd look for the simple Windows DLL call to record an
event... It actually looks rather tricky: the official MS process for Win32 is
described here (Vista has a new way, but presumably supports this old way
too):
It looks like this
hard-codes the events you can log into a new DLL.
Luckily, the topic
has been discussed on comp.lang.smalltalk, and a better solution
posted:
There are a couple
more messages: search groups.google.com for:
registereventsource
reportevent smalltalk
HTH,
Steve
graycol.gif (144 bytes) Download Attachment |
Free forum by Nabble | Edit this page |