stand on the shoulders of giants

05 2010 档案

摘要:浅议windows内存管理这里仅是对windows内存的简单介绍,适合编写windows应用程序的人阅读,主要参考《windows核心编程》及《深入解析windows操作系统》第四版。对windows内存管理的内部机制,将在以后加以介绍。首先,用户用到的内存都是虚拟内存,windows内存管理器负责将虚拟地址转译成物理内存。对于32位机器,虚拟地址空间就是4G大小,用4个byte就可以覆盖,因此,... 阅读全文
posted @ 2010-05-20 00:07 DylanWind 阅读(1310) 评论(0) 推荐(2)
摘要:MPF bug: creating the custom ProjectConfig classOld design: MPF ConfigProvider.cs:namespace Microsoft.VisualStudio.Package{public class ConfigProvider : IVsCfgProvider2, IVsProjectCfgProvider, IVsExte... 阅读全文
posted @ 2010-05-14 01:24 DylanWind 阅读(284) 评论(0) 推荐(0)
摘要:非托管与托管类型对比IntPtr表示指针或句柄的平台特定类型,使用WINDOW API时使用。就是void* 就是HANDLE, 具体如下表:Wtypes.h中的非托管类型 非托管C 语言类型 托管类名 说明 HANDLE void* System.IntPtr 32 位 BYTE  unsigned char System.Byte 8 位 SHORT  short System.I... 阅读全文
posted @ 2010-05-14 01:01 DylanWind 阅读(247) 评论(0) 推荐(0)
摘要:什么是Recursive Algorithm?A recursive algorithm is a special type of algorithm in which a method calls itself over and over again to solve a problem. Each successive call reduces the complexity of the pr... 阅读全文
posted @ 2010-05-09 00:33 DylanWind 阅读(1091) 评论(0) 推荐(0)