上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 34 下一页

2010年8月29日

摘要: Dialog 依其 与父窗口的关系,分为两类:Modal dialog: 在关闭对话框前,不能激活同一应用的其他窗口;Modeless dialog:创建Modal Dialog Box可以使用API函数DialogBox创建一个Modal Dialog Box。You must specify the identifier or name of a dialog box template resource and a pointer to the dialog box procedure. The DialogBox function loads the template, displays 阅读全文
posted @ 2010-08-29 11:25 做个不善的人 阅读(1535) 评论(0) 推荐(0)
 

2010年8月28日

摘要: Win32 程序开发的流程message based, event drivenWin32程序是message based, event driven。也就是说Win32程序的运行是依靠外部不断发生的事件来驱动的,也就是说,程序不断等待(有一个while循环),等待任何可能的输入,然后做判断,再做适当的处理。因此Win32程序只需要做好如下几件事情就可以了:1. 定义窗口的外观;2. 定义当不同的事件发生时,程序做什么样的反应(定义窗口处理函数);3. 写一个While循环,不断检测新事件的发生,并将其发送给不同的窗口处理函数程序进入点WinMainmain是一般C程序的进入点:int mai 阅读全文
posted @ 2010-08-28 22:05 做个不善的人 阅读(22943) 评论(0) 推荐(3)
 

2010年8月25日

摘要: The doctype declaration should be the very first thing in an HTML document, before the <html> tag. The doctype declaration is not an HTML tag; it is an instruction to the web browser about what version of the markup language the page is written in. The doctype declaration refers to a Document 阅读全文
posted @ 2010-08-25 19:57 做个不善的人 阅读(384) 评论(0) 推荐(0)
 

2010年8月12日

摘要: 如果执行extension中的command时,没有managed code在执行,将会出现如下错误: Failed to find runtime DLL(clr.dll), 0x80004005 Extension commands need clr.dll in order to have something to do. SOS command list:http://msdn.microsoft.com/en-us/library/bb190764.aspx .load DLLName!DLLName.load.loadby DLLName ModuleName 使用load和... 阅读全文
posted @ 2010-08-12 17:58 做个不善的人 阅读(857) 评论(0) 推荐(0)
 

2010年8月10日

摘要: Applications running under WOW64 can be debugged two ways: Use an x86-hosted debugger such as NTSD, WinDbg, or Visual Studio. The 32-bit NTSD is installed to %systemroot%\syswow64 on retail installations. Note that x86 debuggers can be used to debug x86 code, but cannot be used to disassemble or se. 阅读全文
posted @ 2010-08-10 16:57 做个不善的人 阅读(1773) 评论(0) 推荐(0)
 

2010年8月1日

摘要: Hibernate takes a snapshot of everything you got on RAM (including any windows and apps running) and saves it to a special hard disk file and then shuts the computer down, when you resume from hibernation the computer boots a bit faster than a normal power up bootup. This method does not consume any 阅读全文
posted @ 2010-08-01 11:17 做个不善的人 阅读(694) 评论(0) 推荐(0)
 

2010年7月31日

摘要: Assembly binding behavior can be configured at different levels based on three XML files: Application configuration file. Publisher policy file. Machine configuration file. These files follow the same syntax and provide information such as binding redirects, the location of code, and binding mo... 阅读全文
posted @ 2010-07-31 21:25 做个不善的人 阅读(1159) 评论(0) 推荐(0)
 

2010年7月27日

摘要: 我坐在图书馆的五楼。暖暖的空调,让人有特别踏实的感觉。5楼找到8-9本最喜欢的杂志开始地读,忽然发现有些很棒的杂志上有着轻轻被其他人划线的痕迹,心里瞬间暖暖的。看书看累了,想到自从上次写完《有些事知道的早,就是赢了一半。》的文章,文章最后说过要update,我想就再开个贴写点感受。 我遇到学弟学妹问我的问题,大概做了下罗列,发现这些也都是我自己遇到的问题。虔心希望,写下来自己曾经愚笨的经历,可以给到你一些鼓励和温暖。 (一)“找工作该怎样准备?” 良心地说,我一直觉得,找工作可以看作是一个项目管理。其实是一个很浩大的工程,尤其是在很多时候,没什么心里准备的前提下,突如其来的招聘接踵而至,就.. 阅读全文
posted @ 2010-07-27 16:48 做个不善的人 阅读(338) 评论(0) 推荐(0)
 

2010年7月18日

摘要: from: http://edu.codepub.com/2010/0607/23314.php 了解引用reference与指针pointer到底有什么不同可以帮助你决定什么时候该用reference,什么时候该用 pointer。 在C++ 中,reference在很多方面与指针(pointer)具有同样的能力。虽然多数C++程序员对于何时使用reference何时使用pointer 都会有一些直觉,但总还是会有些时候搞不清楚。如果你想要建立一个关于使用reference使用的清晰有理的概念,又有必要了解到底reference 和pointer有什么不同。 深层含义 与pointer 类. 阅读全文
posted @ 2010-07-18 15:47 做个不善的人 阅读(921) 评论(0) 推荐(0)
 

2010年7月17日

摘要: rebind from: http://topic.csdn.net/u/20080226/04/d3187cbf-c72e-4f29-b6f0-ed05e1f65f95.html rebind的本质应该这么说:给定了类型T的分配器Allocator=allocator<T>,现在想根据相同的策略得到另外一个类型U的分配器allocator<U>,那么allocator<U> = allocator<T>::Rebind<U>::other.之所以要提供rebind界面,是因为容器只知道模板参数名Allocator,而不是其具体实现, 阅读全文
posted @ 2010-07-17 20:09 做个不善的人 阅读(2153) 评论(0) 推荐(0)
 
上一页 1 ··· 22 23 24 25 26 27 28 29 30 ··· 34 下一页