Author Topic: [BUG] Shell actions and isolated processes  (Read 228 times)

fixer

  • Administrator
  • Hero Member
  • *****
  • Posts: 1392
[BUG] Shell actions and isolated processes
« on: July 04, 2018, 09:07:16 am »
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.