VC Learning Notes (continuous update)

Source: Internet
Author: User

One of the most fundamental differences between Windows-based programs and MS-DOS-based programs is that MS-DOS programs use the functionality of the operating system to gain input from the user, while Windows programs use the operating system

Sends a message to process the user input.

The entrance to the Windows program is Winmain,ms-dos, which simplifies programming by hiding and constructing the message-control mechanism in MAIN,MFC by encapsulating the WinMain function.

MS-DOS programs direct data to the display cache and printer ports, which need to be directly related to the driver for the hardware device, and the GDI interface that is provided by the Windows program, and the program deals with GDI functions and hardware, GDI

The Function Reference device environment (data structure) interacts with the system's IO instructions and hardware, and GDI is almost as fast as the direct video access.

DLL, the use of dynamic link library DLLs, you can reduce the size of the memory space that the program occupies the disk, and facilitate the program's modular compilation debugging. The developers of the Microsoft Basic Class library have combined all the classes of the application framework into several

Built-in dynamic link library (MFC DLL)

Resource Editor, each project usually has a text-formatted resource description file (rc file), and the text file describes the item's menu, dialog box, string, hotkey resource, and items related to the item: Bitmap BMP and Icon ico file.

VC Learning Notes (continuous update)

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.