Re: Using SHGetFileInfo causes Assertion

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



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" <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.

Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm

.



Relevant Pages

  • Re: Using SHGetFileInfo causes Assertion
    ... telling me it can't find the Microsoft development directories on my machine. ... Did you install the MFC sources? ... winctrl2.cpp is one of the MFC source files. ...
    (microsoft.public.vc.mfc)
  • Re: Using SHGetFileInfo causes Assertion
    ... that is the obvious and intelligent way to handle the problem; run the fixup tool on ... Did you install the MFC sources? ... winctrl2.cpp is one of the MFC source files. ... instead of the install directory where they put it. ...
    (microsoft.public.vc.mfc)
  • Re: Using SHGetFileInfo causes Assertion
    ... Did you install the MFC sources? ... The first ASSERT says the current m_imgList already has an hImgList attached. ...  If you don't understand the conventions DO NOT USE THEM. ...
    (microsoft.public.vc.mfc)
  • Re: [SLE] Running kernel header
    ... On Saturday 03 July 2004 22:39, Barry Rumsey wrote: ... > I'm trying to install vmware. ... If it said the kernal source files did not match, ... The VMware error message is always more explicit than you have ...
    (SuSE)
  • Re: [SLE] Running kernel header
    ... >> I'm trying to install vmware. ... > installed the wrong source files, ... I'm running under the standard kernel and installed the kernel source files. ...
    (SuSE)