OSDN Git Service

NVDAHelper.initialize(): When loading nvdaHelperRemote.dll, use an absolute path...
authorJames Teh <jamie@jantrid.net>
Thu, 16 Sep 2010 06:27:43 +0000 (16:27 +1000)
committerJames Teh <jamie@jantrid.net>
Thu, 16 Sep 2010 06:27:43 +0000 (16:27 +1000)
Fixes #907.

source/NVDAHelper.py
user_docs/en/changes.t2t

index 623752f..c09e7a2 100755 (executable)
@@ -189,7 +189,7 @@ def initialize():
                ("VBuf_getTextInRange", localLib),\r
                ((1,), (1,), (1,), (2,), (1,)))\r
        #Load nvdaHelperRemote.dll but with an altered search path so it can pick up other dlls in lib\r
-       h=windll.kernel32.LoadLibraryExW(ur"lib\nvdaHelperRemote.dll",0,0x8)\r
+       h=windll.kernel32.LoadLibraryExW(os.path.abspath(ur"lib\nvdaHelperRemote.dll"),0,0x8)\r
        if not h:\r
                log.critical("Error loading nvdaHelperRemote.dll: %s" % WinError())\r
                return\r
index 38cfab6..8924f2e 100644 (file)
@@ -72,6 +72,7 @@ Notable features of this release include greatly simplified object navigation; v
 - In Loudtalks, it is now possible to access the contact list.\r
 - The URL of the document and "MSAAHTML Registered Handler" are no longer sometimes spuriously reported in Internet Explorer and other MSHTML controls. (#811)\r
 - In tree views in the Eclipse IDE, the previously focused item is no longer incorrectly announced when focus moves to a new item.\r
+- NVDA now functions correctly on a system where the current working directory has been removed from the DLL search path (by setting the CWDIllegalInDllSearch registry entry to 0xFFFFFFFF). Note that this is not relevant to most users. (#907)\r
 \r
 \r
 = 2010.1 =\r