Grr....
Anybody use these with any success?
- Check if source exists, delete it if so
- Fine
- Create source, giving it "MyName", "MyLog"
- Fine.
Now, when I write to the log - either passing the source name in the overload or by using an instance of the EventLog [yes both the source and log are set properly] - it still ends up in the application log.
However if the event source has never been registered it is fine.
What seems to be happening is that the 'CreateEventSource' call is effectively a write once call.
Any ideas.?
Simon.
Anybody use these with any success?
- Check if source exists, delete it if so
- Fine
- Create source, giving it "MyName", "MyLog"
- Fine.
Now, when I write to the log - either passing the source name in the overload or by using an instance of the EventLog [yes both the source and log are set properly] - it still ends up in the application log.
However if the event source has never been registered it is fine.
What seems to be happening is that the 'CreateEventSource' call is effectively a write once call.
Any ideas.?
Simon.
Comment