WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   win32ui winviz.exe has stopped working (

TarkaDahl 08-09-2010 02:38 AM

win32ui winviz.exe has stopped working
Hi all

I have just installed python win32 from i made sure i downloaded the version for python(2.4) pywin32-214.win32-py2.4.exe

However when i include win32ui, on exiting my program a window opens saying "winviz.exe has stopped working" "A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available". i have tried this on 2 machines and it happens on both.

I only want to use pywin32 for win32security to see the file write privilege of the user.(which works after installing of pywin32) and i use win32ui to display a browse file window.

Is there a way of fixing the winui problem or a better way of checking for the privledges of the user with out using win32security?


Jeff 08-09-2010 05:38 PM

Try using the installer from Build 212. Does that work for you? We'll look into why the more recent one causes that error.

TarkaDahl 08-10-2010 03:56 PM

Thanks Jeff,

That worked. I never thought of trying a previous version.


Jeff 08-10-2010 05:19 PM

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.

All times are GMT -7. The time now is 10:32 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC