CFileDialog causes application to Hang on Windows 2000

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Faisal Yaqoob (fyesoft_at_hotmail.com)
Date: 11/25/04


Date: Thu, 25 Nov 2004 20:35:49 +0500

I have developed an application using VC 7.1.
In this application a call to CFileDialog::DoModal() causes the application
to hang and never return.
It happens on random machines. I have tested it on different machines and it
doesn't hang on some of the machines but it hangs on others.

After debugging I've found that the application hangs on a call to
GetSaveFileName() function within the DoModal function.

What is the reason for it and whats the work around?

Thanks,
Faisal



Relevant Pages

  • Re: 5.4-RC2 freezing - ATA related?
    ... > After manually resetting the system it boots and says 'Automatic file system ... and drops into single user mode. ... > different machines, all configured similarly. ... The symptoms are exactly the same -- the hang is normally triggered ...
    (freebsd-stable)
  • megaraid_sas waiting for command and then offline
    ... While I do not have much debugging information available, this happens to me about once every 6-7 days in my pool of seven machines, so I can probably get debugging info. ... devices will hang after somewhere between 4-7gb of data written. ...
    (Linux-Kernel)
  • Re: Command Prompt stuck open
    ... If you think there is a bug in cmd.exe then you should post full ... They just hang and become ... I have opened cmd.exe on hundreds of Win2000/XP machines for many ... More than one cmd session is running, and the one you see cannot ...
    (microsoft.public.windowsxp.general)
  • Re: Using Microsoft CRM Causes Internet Explorer to Crash
    ... It looks like IE SP2 for XP and the error is occuring in mshtml.dll. ... machines have automatic updates turned on. ... Event Source: Application Hang ... Faulting application iexplore.exe, version 6.0.2900.2180, faulting module ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: MFC MDI app hangs randomly on some machines, but not others (most are OK). Typical causes?
    ... If the problem is reproducible on the problematic machines, that is, the ... same file always hang on machine X, but not on Y and Z, you will probably ... old method of adding logging code to your app, ... > major Windows operating systems have failed to reproduce the bug. ...
    (microsoft.public.vc.mfc)