Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using win32gui.GetSaveFileNameW() crashes application #3290

Ekopalypse opened this issue Dec 26, 2019 · 0 comments

Using win32gui.GetSaveFileNameW() crashes application #3290

Ekopalypse opened this issue Dec 26, 2019 · 0 comments


Copy link

@Ekopalypse Ekopalypse commented Dec 26, 2019

Using Cython 0.29.14 on Windows 7 and python 3.7 (x64)

When using'win32gui.GetSaveFileNameW')'win32gui:{win32gui}')'GetSaveFileNameW:{win32gui.GetSaveFileNameW}')
file_name, _, _ = win32gui.GetSaveFileNameW()

application crashes.

From logging I see that module and function are found but calling the function crashes the app.

      5000 test                 5444  (unknown function)                win32gui.GetSaveFileNameW
      5000 test                 5444  (unknown function)                win32gui:<module 'win32gui' from 'D:\\...\\Python\\Python37_64\\lib\\site-packages\\win32\\win32gui.pyd'>
      5014 test                 5444  (unknown function)                GetSaveFileNameW:<built-in function GetSaveFileNameW>

Just for the record, the python path from the log is the one used to compile the dll.
So it shouldn't be a problem with different python versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.