Search code examples
c#winapievent-log

How to compile manifest file with MC.exe?


I want to use Windows Event Log in my c# application, so I'm trying to create an Event Provider. I already wrote the xml manifest file, but I've no ideia of how to compile it to generate resource definition file and a C# code file. I know that I have to use the MessageCompiler(MC.exe) and I already have the Windows SDK installed. Can someone give me instructions on how to proceed?


Solution

  • Here is the msdn link for the mc.exe
    I did a search and found this document explaining the use of mc.exe for event logging.
    Hope that helps.