PRB: Starting MSAA Client as Service Causes WinExplorer Problems (191658)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0
This article was previously published under Q191658 SYMPTOMS
When you start a Microsoft Active Accessibility (MSAA) client as a service
and it installs an in-context hook before Windows Explorer starts, the Copy
and Paste operations do not work in Windows Explorer. Other problems might
also exist.
RESOLUTION
When you start a Microsoft Active Accessibility (MSAA) client as a service
that uses in-context hooking, you should wait until Windows Explorer has
started to install the hook(s). To do this, install an out-of-context hook
for EVENT_OBJECT_CREATE using the MSAA SetWinEventHook API and wait until
an object with the Shell_TrayWnd class name is created. This indicates that
Windows Explorer has been started and that you can safely install your in-
context hooks without disabling the Windows Explorer Copy and Paste
operations. After you see this event, uninstall the temporary out-of-
context hook and install the desired in-context hooks.
REFERENCES
Microsoft Active Accessibility SDK
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbClient kbHook kbpending kbprb KB191658 |
---|
|