Jeffrey&Lynny

一个温馨小家庭的.Net生活

导航

2006年3月28日 #

Tips

摘要: 1. "x" command in windbg requires the module name. For example, if we only type "x createprocessa" in windbg, we will get nothing. "x kernel32!createprocessa" is the correct way.If you really do not k... 阅读全文

posted @ 2006-03-28 13:48 比尔盖房 阅读(334) 评论(0) 推荐(0) 编辑

2005年3月13日 #

IA-32 Concept

摘要: 一 Concept 1. Operating Mode: The IA-32 architecture supports three operating modes and one quasi-operating mode: Protected mode, Real-address mode, System management mode (SMM) and Virtual-8086 mode.... 阅读全文

posted @ 2005-03-13 13:09 比尔盖房 阅读(539) 评论(0) 推荐(0) 编辑

2005年3月6日 #

Structured Exception Handling

摘要: 0. General Take care of the difference between Exception Filter and Exception Handler. A try block can't have both a finally block and an except block, and a try block can't have multiple finally or... 阅读全文

posted @ 2005-03-06 16:34 比尔盖房 阅读(581) 评论(0) 推荐(0) 编辑

2005年3月1日 #

Strong Name and .Net Security

摘要: 1. Why .Net chooce strong name instead of GUIDs? #1 In .Net a type is determined by full type name, including the namespace, plus the name of the assembly in which the type was packaged. So if we id... 阅读全文

posted @ 2005-03-01 15:32 比尔盖房 阅读(784) 评论(0) 推荐(0) 编辑

2005年2月25日 #

Applied .Net Framework

摘要: 1. Several concepts: Managed Module: the compiled result of a code file, one file one module. The file extension is .netmodule Assembly: a logic collection of managed module with one central module ... 阅读全文

posted @ 2005-02-25 17:10 比尔盖房 阅读(486) 评论(0) 推荐(0) 编辑

2005年2月19日 #

Some tips from Inject Lib sample application

摘要: 1. 有时候我们书写的工具函数会有ANSI和UNICODE两个版本分别与相应ANSI或者UNICODE版本的Windows API配合使用。这种不同的编码版本其实是对于函数的"字符串参数"的编码方式来区分。在Windows2000以上的版本中系统都是使用UNICODE来处理的,所以我们通常是在ANSI版本的函数里面将"字符串参数"转换成UNICODE然后调用UNICODE版本就行了(模仿Windo... 阅读全文

posted @ 2005-02-19 10:46 比尔盖房 阅读(453) 评论(0) 推荐(0) 编辑

2005年2月16日 #

情人节小程序

摘要: 自己为Lynny写的一个情人节小程序: ValentineDay 做的还不太好,大家需要使用以下方法来使用它: 1. 将下载的程序三个文件中的valentine.txt和record.rec放置在C盘根目录下 2. 将一首MP3放置在C盘根目录下,更名为meet.mp3(我个人使用的是遇见这首歌) 好,现在就可以双击这个valentineday.exe运行程序了。大家不要害怕,肯定不是病毒啦 ... 阅读全文

posted @ 2005-02-16 14:37 比尔盖房 阅读(1718) 评论(1) 推荐(0) 编辑

2005年2月1日 #

内存映射文件的学习

摘要: Jeffrey Richter对Memory-Mapping File已经讲述的很详细了,现在我们可以归纳以下: 一、功能 1. 简化对数据文件的操作。(利用内存映射文件,Windows将会负责文件数据在RAM的缓存及其和磁盘的数据交换,消除了我们很多麻烦) 2. 进程间共享数据和通讯。(主要是创建一个Memory-Mapping File对象,这个Memory-Mapping File对象... 阅读全文

posted @ 2005-02-01 11:07 比尔盖房 阅读(1208) 评论(0) 推荐(0) 编辑

2005年1月31日 #

Windows内存管理

摘要: 哎, Windows核心编程被翻译的太烂了。 我需要在这里将内存管理这一章的一些内容给解释清楚: Partition:Each process's virtual address space is split into partitions. Region(区域):是通过VirtualAllocEx函数进行保留的一段虚拟地址空间(The act of allocating a region... 阅读全文

posted @ 2005-01-31 22:17 比尔盖房 阅读(2213) 评论(0) 推荐(0) 编辑

2005年1月29日 #

Windows硬件输入模型Extra Info

摘要: Some Window Concept: 1. Focused Window: Only one window at a time can receive keyboard input; that window is said to have the keyboard focus. 2. Active Window: An active window is the top-level wi... 阅读全文

posted @ 2005-01-29 18:02 比尔盖房 阅读(678) 评论(0) 推荐(0) 编辑