FIX: Profiling May Fail If Install Dir Contains Long File NameLast reviewed: September 19, 1997Article ID: Q141670 |
4.00
WINDOWS NT
kbusage kbbuglist kbfixlist
The information in this article applies to:
The information in this article is included in the documentation starting with Visual C++ 5.0. Look there for future revisions.
SYMPTOMSIf you have installed Visual C++ in a directory that has a long file name like this one:
C:\Microsoft Program Files\Development Platformsyou will get the following error message when you attempt to profile a project:
VcSpawn is a utility program required by Visual C++ Development Environment. prep failed.NOTE: This problem only occurs if the long file name contains spaces.
RESOLUTIONTo work around the problem, you can run the profiling tools from the command line rather than through Developer Studio. Start a command prompt, and run the Vcvars32.bat file in the Bin subdirectory of your Visual C++ installation. This will ensure that the profiling tools directory is included in your PATH environment variable. Now you can run one of the standard profiling batch files, such as Fcount.bat, to profile your project. For more information on the standard batch files, refer to Profiler Reference in the online documentation.
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug was corrected in Visual C++ 4.1.
|
KBCategory: kbusage kbbuglist kbfixlist
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |