Click here to Skip to main content
15,885,537 members

Comments by ehaerim (Top 11 by date)

ehaerim 16-Nov-21 6:43am View    
Ok, I just posted a new question:
https://www.codeproject.com/Questions/5317743/Cplusplus-registereventsource-0-app1-equals-what-i
ehaerim 15-Nov-21 13:04pm View    
it returned a valid handle in each case. Beyond that I have not tested anything.
=> I also get this far, but the actual detail shown in the event log viewer shows failure. That's the key issue here.
ehaerim 15-Nov-21 12:48pm View    
That worked for me for a couple of different key names.
=> Weird.
Have you check your Event log viewer's Preview for an event detail? Even if the ReportEvent returns TRUE, the event viewer's preview says: it failed to find ....
ehaerim 15-Nov-21 12:35pm View    
No, that does not work either and failed to find the right event source.
ehaerim 15-Nov-21 12:20pm View    
Ah, I didn't see your last comment, and I will try it right now.