-
Expected behavior
No exceptions.
-
Actual behavior
Throwing an exception pywintypes.error: (126, 'EnumWindows', 'The specified module could not be found.')
-
Steps to reproduce the problem
Run this code:
import win32gui
def enum_windows_proc(hwnd, extra):
print(hwnd)
return False
win32gui.EnumWindows(enum_windows_proc, None)
- Version of Python and pywin32
Python 3.11.7, pywin32 306
Expected behavior
No exceptions.
Actual behavior
Throwing an exception
pywintypes.error: (126, 'EnumWindows', 'The specified module could not be found.')Steps to reproduce the problem
Run this code:
Python 3.11.7, pywin32 306