Windows XP 和 Vista 编程之间的主要区别是什么? [英] What are the main differences between programming for Windows XP and for 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:
- 更大的图标
- 新的字体(这会影响某些自定义 UI 一致性)
- 新的对话框功能(任务对话框)
- 改变了常见对话框(如文件打开、另存为、等)
- 对话文本风格和语气,以及外观
- 新的航空向导
- 重新设计了工具栏
- 更好的通知用户界面
- 包含搜索控件的新推荐方法/li>
- 玻璃
- 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:
- 加密 API:下一代(压缩天然气)
- 可扩展应用程序标记语言 (XAML)
- Windows 通信基础 (WCF)
- Windows 工作流基础 (WF)
- 还有更多较小的
- 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屋!