Re: CFileDialog causes application to Hang on Windows 2000

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Alexander Grigoriev (alegr_at_earthlink.net)
Date: 12/28/04


Date: Tue, 28 Dec 2004 12:43:45 -0800

Remember that the filter string should be double zero-terminated.

"Faisal Yaqoob" <FaisalYaqoob@discussions.microsoft.com> wrote in message
news:73150BB6-33E2-496C-ACF9-06C896615BDA@microsoft.com...
> Finally, I managed to fix this bug...well not completely but it is now
> working.
>
> The reason being for not working on some of the windows 2000 machines was:
> That I was giving 'null' for the lpszFilter parameter. That should mean
> there
> is no filter. But this gives trouble with some of the Windows 2000
> machines.
>
> Again, if I give some filter, other than '*.*', it still gives trouble.
>
> So, During Hit and Trial, I found that it works well on all the windows
> 2000
> machines only if I give a single filter of *.*
>
> Do you have any idea about the issue? Is this a known issue or what? Is
> there a work around?
>
> Thanks,
> Faisal
>
> "Andy Mortimer [MS]" wrote:
>
>> What is it about the PC's that fail? Do the folders contain lots of
>> files,
>> or files which are huge, long filenames etc? Perhaps do some analysis
>> into
>> what is different in working and non working scenarios. Also, you could
>> use
>> filemon utility from sysinternals.com to see if files are actually being
>> accessed. Also can review
>> http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q286350 in order
>> to
>> use adplus to create a hang dump of the problem and analyse the stacks.
>>
>>



Relevant Pages

  • Re: Sun Update Connection
    ... Unfortunately LU is not a fix. ... windows where we can do things to machines, ... That will relatively soon mean that there are some machines ... Sun don't seem to have it. ...
    (comp.unix.solaris)
  • Re: Can anyone recommend a free antivirus now that AVG is malfunctioning?
    ... malfunctioning on many machines? ... able to fix the update problem and I need up-to-date protection. ... but have switched to MS Essentials on a winxp and a windows 7 machine. ...
    (alt.comp.anti-virus)
  • Re: xp home -> xp home
    ... I had an indentical problem with 2 machines on Windows XP Home and this fix ...
    (microsoft.public.windowsxp.network_web)
  • Class Action Over Faulty Software Product
    ... Microsoft has ended its support for Windows 98. ... several versions of Windows, it did not include a fix for 98 or Me, ... To quote another: ... These machines also attack Web sites, ...
    (uk.legal)
  • Re: Cryptogram Comment
    ... >> bother me with Windows questions. ... >> machines are broken. ... Just like if you don't know to tune up your car every year then you ... > and Linux and other open OS's make all patches FREE to redistribute. ...
    (sci.crypt)