View Memory information in the Memory window

Source: Internet
Author: User

The Memory window is used to display the Memory information at the beginning of an address. The default address is 0 × 00000000. You can choose View> Debug Windows> Memory or press Alt + 6 to open the Memory window, as shown in Figure 1.76. This example allows you to view the content of a specified address in the Memory window.

The Watch window can only view the content of fixed variable length, while the Memory window can display the content of continuous addresses. Enter an address in the Memory window, which can be found in the Watch window. The Watch window not only displays the variable content, but also provides the address of each variable. Enter this address to view the variable content in the Memory window, or drag a variable directly to the Memory window list, the address and value of the variable are displayed in the Memory list.

(1) create a dialog box-based application.

(2) Add the OutputResult method to the DebugProgramDlg. h header file.

(3) The OutputResult method implementation code is as follows:

  • Void CDebugProgramDlg: OutputResult ()
  • {
  • CString strResult;
  • IntIResult=0;
  • // Start adding code
  • Char *Str
  • Related Article

    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.