WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-09-2010, 02:38 AM
TarkaDahl TarkaDahl is offline
Member
 
Join Date: Mar 2010
Posts: 59
win32ui winviz.exe has stopped working

Hi all

I have just installed python win32 from http://sourceforge.net/projects/pywin32/files/ 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?

Thanks
Reply With Quote
  #2  
Old 08-09-2010, 05:38 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
Try using the installer from Build 212. Does that work for you? We'll look into why the more recent one causes that error.
Reply With Quote
  #3  
Old 08-10-2010, 03:56 PM
TarkaDahl TarkaDahl is offline
Member
 
Join Date: Mar 2010
Posts: 59
Thanks Jeff,

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

TarkaDahl
Reply With Quote
  #4  
Old 08-10-2010, 05:19 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
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.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
winviz.exe problem llqqff Vizard 2 07-16-2010 09:08 AM
Tk with Vizard farshizzo Vizard 15 07-11-2007 01:48 PM
trouble with winviz.exe bnord Vizard 4 09-21-2006 04:22 AM


All times are GMT -7. The time now is 07:39 AM.


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