Windows XP 和 Vista 编程之间的主要区别是什么? [英] What are the main differences between programming for Windows XP and for Vista?

查看:30
本文介绍了Windows XP 和 Vista 编程之间的主要区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从桌面应用程序开发人员的角度来看,为 Windows XP 开发和为 Windows Vista 开发有什么区别?

From a desktop application developer point of view, is there any difference between developing for Windows XP and developing for Windows Vista?

推荐答案

用户界面

查看 Windows Vista 用户体验指南,您可以看到他们改变了很多 UI 元素,你应该知道.需要注意的一些主要事项:

Looking at the Windows Vista User Experience Guidelines you can see that they have changed many UI elements, which you should be aware of. Some major things to take note of:

  • Larger icons
  • New font (Which affects some custom UI constistency)
  • New dialog box features (task dialogs)
  • Altered common dialogs (like File Open, Save As, etc.)
  • Dialog text style and tone, and look and feel
  • New Aero Wizards
  • Redesigned toolbars
  • Better notification UI
  • New recommended method of including a search control
  • Glass

64 位

Vista 有 64 位版本,虽然 XP 也有,但您的用户更有可能使用 Vista 64 而不是 XP 64.现在您必须处理:

Vista has a 64-bit edition, and although XP did too, your users are more likely to use Vista 64 than XP 64. Now you have to deal with:

UAC

用户帐户控制极大地影响您的应用程序在与操作系统交互时拥有的默认权限.

User Account Control vastly affects the default permissions that your application has when interacting with the OS.

  • How UAC works and affects your application (also see the requirements doc)
  • Installers have to deal with UAC

新 API

有一些新的 API 是针对应用程序构建的新方法或允许新功能的:

There are new APIs which are targeted at either new methods of application construction or allowing new functionality:

  • Cryptography API: Next Generation (CNG)
  • Extensible Application Markup Language (XAML)
  • Windows Communication Foundation (WCF)
  • Windows Workflow Foundation (WF)
  • And many more smaller ones

安装人员

因为安装只能使用它们在事务完成后安装的公共运行时,自定义操作 将失败 如果您的自定义操作 dll 需要高于 VS 2005 CRT 的 Visual C++ 运行时(非 SP1).

Because installations can only use common runtimes they install after a transaction has completed, custom actions will fail if your custom action dll requires the Visual C++ runtimes above the VS 2005 CRT (non-SP1).

这篇关于Windows XP 和 Vista 编程之间的主要区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆