Walkthrough: Creating Windows Desktop Applications (C++)Ĭreate a native Windows desktop application. Walkthrough: Creating a Standard C++ Program Visual C++ Console Application Example In this section Title For more information, see Get started developing with Visual Studio, and Overview of C++ development in Visual Studio. Visual Studio includes a powerful debugger for native code, static analysis tools, graphics debugging tools, a full-featured code editor, support for unit tests, and many other tools and utilities. In the Visual Studio IDE, the terms x86 and Win32 are synonymous. Despite the name, a Win32 application can be compiled as a 32-bit (x86) or 64-bit (圆4) binary. A Win32 application that runs in a window requires the developer to work explicitly with Windows messages inside a Windows procedure function. Neither approach is considered 'modern' compared to the Universal Windows Platform (UWP), but both are still fully supported and have millions of lines of code running in the world today. Or, you can program using Microsoft Foundation Classes (MFC), a lightly object-oriented C++ library that wraps Win32. There's more than one way to create a native desktop app: You can program using the Win32 APIs directly, using a C-style message loop that processes operating system events. ![]() Those APIs are themselves written mostly in C. A native desktop client application is a C or C++ windowed application that uses the original native Windows C APIs or Component Object Model (COM) APIs to access the operating system.
0 Comments
Leave a Reply. |