Pocible bug with event_gainFocus #12566
Unanswered
DalisonCPU
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to create an addon, but I don't know much about Python.
The addon works normally, until I go to nvda remote's conect menu, and make a connection with the server. From that moment on, the following error occurs:
ERROR - stderr (23:49:31.054) - Thread-9 (2980):
Exception in thread Thread-9:
Traceback (most recent call last):
File "threading.pyc", line 926, in bootstrap_inner
File "threading.pyc", line 870, in run
File "C:\Users\djt-d\AppData\Roaming\nvda\addons\remote\globalPlugins\remoteClient_init.py", line 369, in hook
keyhook = keyboard_hook.KeyboardHook()
File "C:\Users\djt-d\AppData\Roaming\nvda\addons\remote\globalPlugins\remoteClient\keyboard_hook.py", line 39, in init
self.handle = ctypes.windll.user32.SetWindowsHookExW(WH_KEYBOARD_LL, self.proc, ctypes.windll.kernel32.GetModuleHandleW(None), 0)
ctypes.ArgumentError: argument 2: <class 'TypeError'>: expected WinFunctionType instance instead of WinFunctionType
I wonder if anyone can help me.
if want I can send the addon.
Beta Was this translation helpful? Give feedback.
All reactions