2009年9月26日

摘要: CFrameWndFrame windows are windows that frame an application or a part of an application. Frame windows usually contain other windows, such as views, tool bars, and status bars. In the case of CMDIFrameWnd, they may contain CMDIChildWnd objects indirectly. CDocumentA document represents the unit of 阅读全文
posted @ 2009-09-26 17:19 做个不善的人 阅读(396) 评论(0) 推荐(0)
 
摘要: AppDomainAppDomain可以视为一种轻量级进程,AppDomain可以像进程一样独立加载Assembly。一个Windows进程可以包含多个AppDomain。但是与进程不同的是,进程与线程有隶属关系,但是,AppDomain和进程之间是正交的,他们没有隶属关系。例如,一个进程存在两个AppDomain:ADA和ADB,对象A来自ADA,对象B来自ADB,如果A的某个方法调用了B的方法,这两个方法会在同一个线程中执行。使用AppDomain的好处创建AppDomain所需要的系统资源比创建一个Windows进程要少;同一个Windows进程内的AppDomain之间可以共享资源,如 阅读全文
posted @ 2009-09-26 11:12 做个不善的人 阅读(569) 评论(0) 推荐(0)