[BUG] Shell actions and isolated processes

Started by fixer, July 04, 2018, 09:07:16 AM

Previous topic - Next topic

fixer

Some shell-related actions may fail for isolated processes. For example, directory change notifications in select file dialogs. Then contents of the directory are changed, but visually they remain the same and have to be manually updated. On low-level the issue is in SHChangeNotifyRegister API function. Or for another example SHChangeNotify API function doesn't notify OS about events. Or for another example AddJob doesn't add printing tasks. All these functions try to communicate with explorer.exe process calling SHAllocShared. This call will fail because of security and isolating restrictions.