vipinvjayan Posted May 6, 2010 Posted May 6, 2010 Hi all, I am using Windows Server 2008 R2. I want to add a new event log in Application Log with current windows session ID. Means, I have working in multi-user mode and so, many users will connect to my PC & run application provided. So when an error occurred during a client session, my application will log error in Application Log, but now Session ID column of event viewer is blank. I need to put current Windows Server Session ID in that column. I can get session ID using ProcessIdToSessionId() API. But I don't know who to add that in Windows Server Event log. I know event log is changed compared with previous versions of Windows. Please help me. Thanks, Vipin Vijayan. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.