How to capture the logon and logoff events in Windows Vista using windows service?
-
Hi!! to all, I have sucessfully created a service which runs on Windows Vista and calls my application (without UAC dialogbox to apper) when first user logged in. Now I m stucking at a point as, I logoff or switch user after login (ie my service is running and my application is already invoked in the first users session), the application is not launched ie executed in the new logged on users account. I have used handlerEx function to capture the on session change event but I m unable to capture the login, logoff events. My service is running on the LocalSystem Account and my service type is SERVICE_WIN32_OWN_PROCESS. Please give me suggession to overcome this difficulty. With regards, Vaibhav Deshpande.
-
Hi!! to all, I have sucessfully created a service which runs on Windows Vista and calls my application (without UAC dialogbox to apper) when first user logged in. Now I m stucking at a point as, I logoff or switch user after login (ie my service is running and my application is already invoked in the first users session), the application is not launched ie executed in the new logged on users account. I have used handlerEx function to capture the on session change event but I m unable to capture the login, logoff events. My service is running on the LocalSystem Account and my service type is SERVICE_WIN32_OWN_PROCESS. Please give me suggession to overcome this difficulty. With regards, Vaibhav Deshpande.
Don't double post, it doesn't help your chances of getting an answer. The people here answer on a volunteer basis so they may not respond in a time frame you find acceptable or desirable. Waiting 30 minutes and posting again because you didn't get an answer isn't going to help. The original message is here[^].
Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[Forum Guidelines] [Articles] [Blog]
-
Don't double post, it doesn't help your chances of getting an answer. The people here answer on a volunteer basis so they may not respond in a time frame you find acceptable or desirable. Waiting 30 minutes and posting again because you didn't get an answer isn't going to help. The original message is here[^].
Scott. —In just two days, tomorrow will be yesterday. —Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
[Forum Guidelines] [Articles] [Blog]
Sorry Boss!! It was my mistake that the question was reposted because I was unable to see my first post so I reposted the same question again and after that I saw two posts of same question. Sorry for the inconvinience caused by me.. By the way I got the right answer for my post, Thanks codeproject members. With regards, Vaibhav