Re: CFileDialog causes application to Hang on Windows 2000
From: Alexander Grigoriev (alegr_at_earthlink.net)
Date: 12/28/04
- Next message: Václav Jedlička: "how to display full path instead of filename"
- Previous message: David Lowndes: "Re: Units of Measure in Edit Controls"
- In reply to: Faisal Yaqoob: "Re: CFileDialog causes application to Hang on Windows 2000"
- Messages sorted by: [ date ] [ thread ]
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.
>>
>>
- Next message: Václav Jedlička: "how to display full path instead of filename"
- Previous message: David Lowndes: "Re: Units of Measure in Edit Controls"
- In reply to: Faisal Yaqoob: "Re: CFileDialog causes application to Hang on Windows 2000"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|