Use the MFC. bsc file to read the MFC source code

Source: Internet
Author: User

The use of MFC. BSC to read the source code can provide a lot of convenience, the following describes the usage

1. Open a project as needed. If you do not open the project, the source browser option is not available in the tool menu.

2. Open the previous articleArticleIn the mentioned MFC. BSC (or a self-generated file), you can select the type BSc in the open dialog box, so that you can quickly find it.

3. Click the source browser button under the tool menu to bring up a dialog box through which you can query.

4. Use of this dialog box

The first window is identifier. You can enterFunction Name,Class Name,Predefined name,Macro name,File Name.

If you areFirst windowEntered inFunction name, class name, predefined name, macro nameIn the second window, you can select the first item: Definitions and references. Then press OK to viewDefinitions of functions, classes, predefined names, and macros, and where they are referenced.

If you areFirst windowEntered inFile NameIn the second window, you can select the second item: file outline. Press OK to viewWhat classes and functions are declared in the file.

If you areFirst windowInputClass NameIn the second window, you can select the third and fourth items: base classes and members and derived classes and members. Press OK to viewThe base class of the class and its members, the derived class of the class and its members.

If you areFirst windowInputFunction NameIn the second window, you can select the last two items: Call Graph and caller graph. After pressing OK, you canCheck who and who calls the function..

Another tips: when the final result is displayedFunction name, class name, predefined name, macro name, double-click the left mouse button, Then include theseName DefinitionOrImplemented FileIt is opened.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.