Re: Using SHGetFileInfo causes Assertion
- From: "David Ching" <dc@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 18 Apr 2009 15:49:09 -0700
I don't know what the problem is. The first time I debug into MFC sources, I get the Find Source file (or similar) dialog and I point it to my installation folder of MFC, and it finds it just fine.
-- David
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message news:ikeku4t3e9ojlg078aob8ams7mtmboq1ik@xxxxxxxxxx
Yes, that is the obvious and intelligent way to handle the problem; run the fixup tool on
installation to have it "relocate" the source files to their install directory on the
customers' machines.
Of course, since no one inside the VS group at Microsoft EVER has this problem, it never
occurred to them that it needs to be solved!
joe
On Sat, 18 Apr 2009 07:07:37 -0700, "Alexander Grigoriev" <alegr@xxxxxxxxxxxxx> wrote:
Joseph M. Newcomer [MVP]
"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> wrote in message
news:9hkiu4d03o3e2rkfiuq2rk0dpk06qvlla1@xxxxxxxxxx
****
Did you install the MFC sources? If not, that could be your problem. You
*must* install
the MFC sources.
winctrl2.cpp is one of the MFC source files. It is in the
...\vc\atlmfc\src directory of
your installed VS. Due to terminal brain damage, Microsoft compiles into
their
distribution the drive and directory used by the VS development group to
hold their
sources, instead of the install directory where they put it. So sometimes
you have to
redirect to it.
It would be handy to have a PDB edit tool that fixes source paths inside obj
and lib files. Unfortunately, nobody cared. Visual Studio used to have
"source path" concept in VS98; not anymore.
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- Follow-Ups:
- Re: Using SHGetFileInfo causes Assertion
- From: Joseph M . Newcomer
- Re: Using SHGetFileInfo causes Assertion
- References:
- Using SHGetFileInfo causes Assertion
- From: newgroupsurfer
- Re: Using SHGetFileInfo causes Assertion
- From: Joseph M . Newcomer
- Re: Using SHGetFileInfo causes Assertion
- From: newgroupsurfer
- Re: Using SHGetFileInfo causes Assertion
- From: Joseph M . Newcomer
- Re: Using SHGetFileInfo causes Assertion
- From: Alexander Grigoriev
- Re: Using SHGetFileInfo causes Assertion
- From: Joseph M . Newcomer
- Using SHGetFileInfo causes Assertion
- Prev by Date: Re: Vista -> WinXP Compatibility issues?
- Next by Date: Re: MFC form in win32
- Previous by thread: Re: Using SHGetFileInfo causes Assertion
- Next by thread: Re: Using SHGetFileInfo causes Assertion
- Index(es):
Relevant Pages
|