Re: Serious issue with NVDA not reading menus and totally silent in Firefox and Chrome


Tyler Spivey
 

On 3/18/2020 2:44 PM, Brian Vogel wrote:
Tyler,

I am just trying to be absolutely sure that the only difference between that command for pre-2019.3 versions of NVDA and 2019.3 forward is the presence of the character 'u' for all versions prior to 2019.3?   I see "RegisterTypeLib(p,ur" for pre-2019.3 and "RegisterTypeLib(p,r" for 2019.3 and later.  Full import commands are quoted below, but I wanted to stick with focused snippets here.
Yes. Alternatively, this should work for both:


import comtypes,ctypes;p=comtypes.typeinfo.LoadTypeLibEx(r"c:\windows\syswow64\oleacc.dll");ctypes.windll.oleaut32.RegisterTypeLib(p, u"c:\\windows\\syswow64\\oleacc.dll", None)

Join nvda@nvda.groups.io to automatically receive all group messages.