Pnig0s1992:无奈昂,本本是64位的Win7,访问个注册表都去WoW32Node结点下去了,大体上也许无伤大雅的小程序不会觉得有什么不同,但是一些涉及到操作系统相关的操作,对内存,注册表,用户安全机制的访问和修改就得注意一下64位和32位的区别了。。。
在上例出了28个在64位平台上使用C/C++开发的注意事项,对于进入64位时代的程序员应该去看看这28个事项,这些英文读物对于有C/C++功底的朋友读起来应该并不难,我估计大约20-30分钟可以精读完一篇(或者更快),下面是这28个注意事项的列表。相信对大家一点有帮助。
- . What 64-bit systems are.
- . Support of 32-bit applications.
- . Porting code to 64-bit systems. The pros and cons.
- . Creating the 64-bit configuration.
- . Building a 64-bit application.
- . Errors in 64-bit code.
- . The issues of detecting 64-bit errors.
- . Static analysis for detecting 64-bit errors.
- . Pattern 01. Magic numbers.
- . Pattern 02. Functions with variable number of arguments.
- . Pattern 03. Shift operations.
- . Pattern 04. Virtual functions.
- . Pattern 05. Address arithmetic.
- . Pattern 06. Changing an array’s type.
- . Pattern 07. Pointer packing.
- . Pattern 08. Memsize-types in unions.
- . Pattern 09. Mixed arithmetic.
- . Pattern 10. Storage of integer values in double.
- . Pattern 11. Serialization and data interchange.
- . Pattern 12. Exceptions.
- . Pattern 13. Data alignment.
- . Pattern 14. Overloaded functions.
- . Pattern 15. Growth of structures’ sizes.
- . Phantom errors.
- . Working with patterns of 64-bit errors in practice.
- . Optimization of 64-bit programs.
- . Peculiarities of creating installers for a 64-bit environment.
- . Estimating the cost of 64-bit migration of C/C++ applica
本文转hackfreer51CTO博客,原文链接:http://blog.51cto.com/pnig0s1992/804092,如需转载请自行联系原作者