Search the web
Sign In
New User? Sign Up
wtl · WTL support list
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
CFileDialog crash on Vista   Message List  
Reply | Forward Message #16082 of 16191 |
Re: CFileDialog crash on Vista

I just wanted to follow up and report my findings. The problem is definitely not
with wtl but has something to do with the new Open/Save dialogs in Vista and the
amount of memory my App allocates. I am writing an editor for a graphics engine
which allocates a lot of CPU and GPU memory right from the get go. As I
commented out more and more of the memory allocating code the dialogs began to
open up correctly more frequently. I think that windows cannot get enough memory
to allocate the dialogs and then just hangs or does something else that makes it
take a long time to open. I know it sounds strange, and the App doesn't allocate
that much memory either.

Long story short, I gave up on the problem and ended up writing my own dialogs.
Turned out much better in the end, because I have to restrict the files dialogs
to a narrow project work space, which I never managed to do with the system
dialogs. So, problem solved...





Wed Jul 8, 2009 4:02 am

jochen.stier
Offline Offline
Send Email Send Email

Forward
Message #16082 of 16191 |
Expand Messages Author Sort by Date

Hi, I am having the oddest problem with wtl8 on Vista. Opening a file dialog brings up a wait cursor and then my App hangs; no window appears. Of course this...
jochen.stier
Offline Send Email
Jun 23, 2009
1:42 pm

... Just a guess, not much info to go on, but it's good practice to use ATL::CString instead of WTL::CString. So, change: #define _WTL_USE_CSTRING to #define...
domehead100
Offline Send Email
Jun 23, 2009
5:07 pm

I have tried changing to _WTL_NO_CSTRING but the problem still occurs. I did install VC 2005 on my vista machine and recompiled the app there, but the problem...
jochen.stier
Offline Send Email
Jun 28, 2009
12:36 am

Hi Jochen, I don't know what your problem comes from but I would be suprised it comes from the WTL, CString or Vista. I have several VC6 XP-compiled...
Yarp
yarp2002
Offline Send Email
Jun 29, 2009
8:16 am

I just wanted to follow up and report my findings. The problem is definitely not with wtl but has something to do with the new Open/Save dialogs in Vista and...
jochen.stier
Offline Send Email
Jul 8, 2009
4:02 am

My guess is it has something to with the Vista window renderer (http://msdn.microsoft.com/en-us/library/aa969540(VS.85).aspx). It is far more memory intensive....
Mark Grandau
mgrandau
Offline Send Email
Jul 10, 2009
12:57 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help