Article ID: 167798
Article Last Modified on 10/17/2003
APPLIES TO
- Microsoft Visual C++ 5.0 Enterprise Edition
- Microsoft Visual C++ 5.0 Professional Edition
This article was previously published under Q167798
SYMPTOMS
After installing Visual C++ version 5.0, you may not be able to attach an
active process from Windows NT Task Manager. A message box titled "Unable
to Attach Debugger" with the following error message appears:
The operation could not be completed. The system cannot find the file
specified.
CAUSE
This happens because the registry entry in HKEY_LOCAL_MACHINE\SOFTWARE\
Microsoft\Windows NT\CurrentVersion\AeDebug has a space in the path to
MSDEV.EXE. By default, the installed path to MSDEV.EXE is C:\Program
Files\DevStudio\SharedIDE\BIN\.
RESOLUTION
The resolution is to change the entry in the AeDebug registry key to:
"<install drive>\Program Files\DevStudio\SharedIDE\BIN\msdev.exe" -p %id - e %id
The quotation marks around the executable path and name are necessary in order to
correct this problem.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This problem was corrected in Visual C++ version 6.0 for Windows.
Keywords: kbbug kbfix kbide kbvc600fix kbdebug KB167798