lemonutzf

努力中。。

2004年12月19日

windows消息和消息队列

摘要: 在windows系统中,每个线程都对应一个消息队列(Message Queue),这是系统自动创建的。所以,如果想让窗口程序响应鼠标键盘操作的话,就要从这个消息队列里取得消息,然后根据消息做相应的响应函数。一般的做法是写一个消息循环(Message Loop),不断的从消息队列里提取消息、处理消息,直到程序退出。msdn给出的例子是这样写的: while( (bRet = Get... 阅读全文

posted @ 2004-12-19 22:08 风@((((( 阅读(5058) 评论(0) 推荐(0) 编辑

2004年10月18日

获取 HDC 的函数

摘要: BeginPaint( hWnd, &ps ) EndPaint( hWnd, &ps ) GetDC( hWnd ) ReleaseDC( hWnd, hdc ); GetWindowDC( hWnd ) ReleaseDC( hWnd,hdc ); CreateDC (pszDriver, pszDevice, pszOutput, pDa... 阅读全文

posted @ 2004-10-18 19:52 风@((((( 阅读(1973) 评论(0) 推荐(0) 编辑

2004年10月3日

今天的问题

摘要: 1) CLR是如何搜索装配件的? 2) 用NGen生成的Native Code是否还需要CLR的支持? 3) DotNet是怎么解决Dll Hell问题的? 4 )App Domain, Assembly, Module之间是什么关系,区别又是什么? 5 ) .il 文件里是MSIL代码,还是.exe/.dll里面是MSIL代码? 6) 不同App Domain之间的通讯,除了用Remoti... 阅读全文

posted @ 2004-10-03 11:36 风@((((( 阅读(784) 评论(1) 推荐(0) 编辑

2004年9月8日

the differences between the unstructured and structured p2p network

摘要: the unstructured is relatively easy to maintain, such as node join and leave, and supports complex queries . but it cannot guarantee the total recall of an search. the main problems in unstruc... 阅读全文

posted @ 2004-09-08 10:26 风@((((( 阅读(679) 评论(0) 推荐(0) 编辑

2004年9月3日

在C#中调用C/C++代码

摘要: 示例1: HelloWorld程序 using System;using System.Runtime.InteropServices;class MyClass { [DllImport("User32.dll")] public static extern int MessageBox(int h, string m, string c, int type); public... 阅读全文

posted @ 2004-09-03 12:27 风@((((( 阅读(3129) 评论(2) 推荐(0) 编辑

2004年9月1日

9。1

摘要: 最近一直不爽,首先就是不知道自己要干什么了,好像天天的对着电脑发呆,练近视眼。。 唉,不是没事干那,而是事太多了, 阅读全文

posted @ 2004-09-01 09:46 风@((((( 阅读(368) 评论(0) 推荐(0) 编辑

2004年8月31日

第一次加入博客那,鼓励一下自己先

摘要: 以后决定一星期写一篇吧,关键是坚持,呵呵。看着大家都这么精神,我也应该做点什么吧。 哈,学习真的要有氛围的,有高手在旁边看着,自己也努力些,进步也应该快的,是吧,理论上应该是这样。 恩,现在就决定吧,努力学习,让自己成为一个合格的程序员 阅读全文

posted @ 2004-08-31 12:04 风@((((( 阅读(490) 评论(0) 推荐(0) 编辑

导航