The information in this article applies to:
SUMMARYProxies created as a result of navigating from a native IAccessible object live in its address space. This can cause a performance overhead in the applications or the proxy itself can become unavailable when the Server application exits. MORE INFORMATION
Usually, OLEAcc.dll proxies for USER/Common controls and registered
handlers live in the address space of the client.
Sample ScenarioA client application gets a focus event from a native IAccessible server like the Server.cpp sample server. It then uses AccessibleObjectFromEvent() to get a corresponding IAccessible object. It calls the get_accParent method of the IAccessible interface on that object, which in turn calls CreateStdAccessibleObject() internally. This results in a proxy being created in the server's address space. The client then calls the get_accParent method again on this proxy. This proxy then calls CreateStdAccessibleObject internally, creating another proxy in the server's address space. The client then calls the accNavigate method on this new proxy which results in another proxy being created in the original server's address space. As the client navigates to a totally different application using NAVDIR_NEXT, NAVDIR_FIRSTCHILD and so forth, more proxies are created in the original server's address space.There are two problems with this scenario:
REFERENCESMicrosoft Active Accessibility Additional query words:
Keywords : kbAAcc kbNavigation |
Last Reviewed: January 10, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |