PRB: MFC Browser Library (MFC.BSC) Can't Find MFC Source FilesLast reviewed: July 31, 1997Article ID: Q170978 |
The information in this article applies to:
SYMPTOMSThe MFC browser library (MFC.BSC) that ships with Visual C++ has problems finding the target source code files, requiring you to enter the directory path. Visual C++ may also load the wrong version of source files, depending on where different versions of Visual C++ are loaded. For example, if the Visual C++ 4.0 source files are loaded on E: drive, they will be found instead of the Visual C++ 5.0 files.
CAUSEThese problems are caused by different directory paths embedded in the MFC.BSC file and the actual location of these files on your hard disk. For the browser to work properly, these directory paths must be the same. The directory path that the MFC browse library was created on (E:\msdev\mfc\src) is different from the default installation path for the MFC source code (C:\Program Files\DevStudio\Vc\mfc\src). The browser can find the files if the drive letter is different. However, it fails to find the target files and consequently prompts for the target directory if the paths are different.
RESOLUTIONYou can work around this by rebuilding the MFC browser library (MFC.BSC).
Steps to Rebuild the MFC Browser Library
STATUSThis behavior is by design.
REFERENCESFor additional information regarding the building of the MFC.BSC library, please see the following articles in the Microsoft Knowledge Base:
ARTICLE-ID: Q98656 TITLE : INFO: Creating a Browser Library for the Foundation Classes ARTICLE-ID: Q138326 TITLE : HOWTO: Create a Browser Library for the Common Control Classes(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Mike Francis, Microsoft Corporation
|
Additional query words: mfc browser mfc.bsc
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |