This is a problem introduced by recent versions of pywin32. We would recommend not even using the win32ui module. It depends on MFC and can cause all kinds of problems when mixing it into other apps.
If you are only using it to display a file open dialog, then you can use the win32gui.GetOpenFileNameW function instead, which doesn't seem to have this issue.
|