Knowledgebase

status_loader

OnChange event in a service application

Question / Problem

I have a little problem, trying to use the TShellChangeNotification in a service application: The OnChange event isn 't triggered in this situation

Answer / Solution

The SHChangeNotifyRegister API of Windows doesn't seem to work in a Windows System Service. Although Microsoft's documentation doesn't state this, we found several postings in the internet that suggest that this API doesn't work for service applications.

Need further help getting started?

You did not find what you were looking for? Please contact us so we can provide an answer to your question.

Contact Form