OSDN Git Service

Changes to make NVDA work again on Windows XP with no service pack: release-2010.2beta2
authorJames Teh <jamie@jantrid.net>
Wed, 29 Sep 2010 02:52:00 +0000 (12:52 +1000)
committerJames Teh <jamie@jantrid.net>
Wed, 29 Sep 2010 02:52:00 +0000 (12:52 +1000)
commit5d8d95d6a09af7572c33c0f3639f15ac55f33138
treef04c8d3031959177d59a3e40c53e38cf317df8b6
parent34787ace1f544fd2e313c2572d8168d28f41d922
Changes to make NVDA work again on Windows XP with no service pack:
* NVDAHelper: winIPCUtils: generateDesktopSpecificNamespace(): wcscpy_s() isn't available in Windows XP no sp, so use wcsncpy() instead.
* IAccessible NVDAObject: findOverlayClasses(): msftedit.dll isn't available on Windows XP no sp, so handle this gracefully when trying to retrieve IID_ITextServices. Also, only ever attempt to retrieve it once and cache the result for later use, which should be more efficient.

Fixes #908.
source/NVDAHelper/common/winIPCUtils.cpp
source/NVDAObjects/IAccessible/__init__.py