January 20th, 2010, 05:45 AM
For everyone who might be interested, I found the solution.
In the registry key of your custom event log (HKLM\System\CurrentControlSet\Services\EventLog\YourCustomEventLog), there is a File key....
January 20th, 2010, 05:38 AM
I want to make a program that gets all the events related to printing (events that printer spooler service probably throws).
In Windows XP, there is no such problem since I got all...
October 26th, 2009, 09:19 AM
I just want to make myself a bit more clear:
I use the ReportEvent function
(http://msdn.microsoft.com/en-us/library/aa363679%28VS.85%29.aspx) in order
to fire events in the...
October 26th, 2009, 04:35 AM
I am using MFC in order to throw events in a custom event log of the windows
event viewer. I am using a .MC file where I store the Categories and the
message definitions used for the...
August 19th, 2009, 03:39 AM
I have created a custom log named MYLOG and my application (MYAPP) fires events in it.
The sources file contains "MYLOG,MYAPP" but I could see that more event sources fire events
August 7th, 2009, 07:43 AM
Half of the problem solved!
In order to see the new event log,just restart the Event Viewer software (sometimes I want to crash my head on the desk... :)
But still the events coming from MyApp...
August 7th, 2009, 05:29 AM
I have successfully created a key in the registry, named MyAppDiagnostics, under the tree:
HKEY_LOCAL_MACHINE -> SYSTEM -> CurrentControlSet -> Services -> Eventlog
August 7th, 2009, 03:48 AM
Actually, I was not familiar with reg files but now I am ;)
So, do I have to import this file in the windows registry using mfc functions?
Thanks in advance!
August 6th, 2009, 10:29 AM
Thank you for your fast response!
Sorry,but can you give me some more details because I am amateur in this field.
August 6th, 2009, 04:54 AM
I want to create a new Event log to the windows service EventLog and add new logs to it.
By default,the event logs are Application,System and Security but I want to
add a new one.