Win32 Desktop Apps (Visual C++)

本文介绍如何使用Visual Studio Express 2012 for Windows Desktop或更高版本来创建Win32桌面应用程序,这些应用程序可在Windows 95到Windows 8之间运行。文章详细解释了Win32应用的概念,以及它们如何不同于使用框架如MFC、ATL或.NET Framework的应用。还提到了C++中可用的CRuntime和Standard Template Library类、COM对象以及公共Windows函数。此外,对比了Win32应用与MFC应用的区别,并提供了创建MFC或ATL程序所需的Visual Studio版本。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Win32 Desktop Apps (Visual C++)

Visual Studio 2013
此主题尚未评级 评价此主题

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

You can create a Win32 app when you want to make a native desktop app that has a window-based user interface and can run on Windows 

versions from Windows 95 to Windows 8. You can use Visual Studio Express 2012 for Windows Desktop or any of the Visual Studio editions 

except Visual Studio Express 2012 for Windows 8.

Win32 app is the conventional term for an app that uses message loops to handle Windows messages directly instead of using a framework

 such as the Microsoft Foundation Classes (MFC), the Active Template Library (ATL), or the .NET Framework. Although the term is "Win32", it 

can refer to either a 32-bit or a 64-bit app. A Win32 app in C++ can use C Runtime (CRT) and Standard Template Library (STL) classes and 

functions, COM objects, and any of the public Windows functions, which collectively are known as the Windows API. For an introduction to 

Win32 apps in C++, see Learn to Program for Windows in C++.

A Win32 app is one way to create a native desktop app for Windows; the other way is an MFC app. MFC is the default choice for apps—

especially enterprise-type apps—that have lots of user interface controls or custom user controls. MFC provides convenient helper classes 

for serialization, text manipulation, printing, and modern user interface elements such as the ribbon. These classes are not available to a 

Win32 app. To create MFC or ATL programs you need Microsoft Visual Studio Professional 2012 or higher. Visual Studio Express 2012 for

 Windows Desktop does not include MFC or ATL support.

Title

Description

Windows Development

Contains information about the Windows API and COM. (Some Windows APIs

 and third-party DLLs areimplemented as COM objects.)

Hilo: Developing C++ Applications for Windows 7

Describes how to create a rich-client Win32 desktop app that uses Windows 

Animation and Direct2D tocreate a carousel-based user interface.

Win32 Console Applications in Visual C++

Contains information about console apps. A Win32 (or Win64) console app has

 no window of its own and no message loop. It runs in the console window, and input

 and output are handled through the command line.

Visual C++

Describes key features of Visual C++ in Visual Studio and links to the rest of the 

Visual C++ documentation.

Visual C++ Developer Centeron the MSDN website

Contains tutorials, blog posts and articles that are relevant for Win32 desktop

 applications.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值