Re: CFileDialog crashes in destructor

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

From: David Lowndes (davidl_at_example.invalid)
Date: 04/11/04


Date: Sun, 11 Apr 2004 17:39:03 +0100


>> I don't know if this is applicable to your problem, but have a look at
>> the definition of OPENFILENAME_SIZE_VERSION_400 - maybe with the new
>> headers you're picking up the newly sized definition of the structure
>> and that's somehow giving rise to the problem you're seeing?
>
>I already tried that without success.
>The problem seems to go away when I define _WIN32_WINNT as 0x0400 instead of
>0x0500.

I thought that would amount to the same thing as using
OPENFILENAME_SIZE_VERSION_400. I'm glad you've worked around the
problem anyhow.

Dave

-- 
MVP VC++ FAQ: http://www.mvps.org/vcfaq


Relevant Pages

  • Re: CFileDialog crashes in destructor
    ... > headers you're picking up the newly sized definition of the structure ... > and that's somehow giving rise to the problem you're seeing? ...
    (microsoft.public.vc.mfc)
  • Re: -I${CURDIR}/../../sys in src/*bin/Makefiles
    ... : to CFLAGS in sbin/ifconfig/Makefile. ... don't normally do that because buildworld handles picking up the latest ... headers, but after greping other Makefiles in sbin, I found that we ...
    (freebsd-arch)
  • Re: Saab
    ... cam, 4V carb, and headers. ... But it's great for picking up chicks on Sat night! ...
    (sci.med.dentistry)