Re: Event log in C++

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



"Joachim" <Joachim@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:91DC93AA-BBBB-4EDA-98B2-455B370E9A7F@xxxxxxxxxxxxxxxx
I'm really trying to find a simple way to write to the event log in
Windows
using C++/VS .NET 05. To me it seems that you need to use the message
compiler tool. However, it seems quite at lot of work to only write
entries
in the event log.

Yeah. IME, if you don't register a message file, what you will see in the
Event Viewer is exactly like what you see when the Event Viewer can't locate
a validly registred message file. Again, IME, the event viewer's message
scares end users.

Well, if you really need to do it: Where can I find the
"message compiler sdk documentation" referenced on
http://www.codeproject.com/system/mctutorial.asp? Or
is there another more simple way to do it?

Have you found this:

http://msdn2.microsoft.com/en-us/library/aa385633.aspx

If so, is there something there that you don't understand?

Regards,
Will
www.ivrforbeginners.com


.



Relevant Pages

  • Re: Event Message File
    ... eventlog starts to complain. ... I understand that there are windows registry issues for messages ... I know that the event viewer depends on the message file. ...
    (microsoft.public.win32.programmer.kernel)
  • Event Message File
    ... I understand that there are windows registry issues for messages ... messages the assemblies depend upon can't be moved around as easily. ... I know that the event viewer depends on the message file. ...
    (microsoft.public.win32.programmer.kernel)