How do I display a message to user from service Win 7?
Posted: Wed Nov 16, 2011 2:34 am
Hi,
I have previously posted in the coding questions but the subtopic is more relevant.
I need to display a message to the logged on from a service, Windows XP allows me to do this but in Vista upwards session 0 is segregated from a logged on user for security reasons and requires a different approach.
My service uses SERVICE_INTERACTIVE_PROCESS and my MessageBox has the MB_SERVICE_NOTIFICATION flag.
I have found some resources regarding allowing interaction : http://msdn.microsoft.com/en-us/library ... 85%29.aspx but they are way over my head and I am not sure what I may need to include
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
I have previously posted in the coding questions but the subtopic is more relevant.
I need to display a message to the logged on from a service, Windows XP allows me to do this but in Vista upwards session 0 is segregated from a logged on user for security reasons and requires a different approach.
My service uses SERVICE_INTERACTIVE_PROCESS and my MessageBox has the MB_SERVICE_NOTIFICATION flag.
I have found some resources regarding allowing interaction : http://msdn.microsoft.com/en-us/library ... 85%29.aspx but they are way over my head and I am not sure what I may need to include
http://msdn.microsoft.com/en-us/library ... 85%29.aspx