<?xml version="1.0" encoding="gb2312"?>
<rss version="2.0">
<channel>
<title>组件技术</title>
<link>http://www.kuqin.com/components/</link>
<description>挖经验 / 组件技术</description>
<language>zh-cn</language>
<generator>Copyright &amp;copy; 2007-2008 &lt;A href=&quot;http://www.kuqin.com&quot;&gt;酷勤网&lt;/A&gt; All Rights Reserved
&lt;A href=&quot;http://www.miibeian.gov.cn/&quot; target=&quot;_blank&quot;&gt;京ICP备07011765号&lt;/A&gt;</generator>
<webmaster>kuqin.com@163.com</webmaster>
<item>
    <title>一位作者对COM的严厉批判</title>
    <link>http://www.kuqin.com/components/20071202/2768.html</link>
    <description>我见过抱怨COM难用的，我自己也经常抱怨COM不好理解，但从来没见过对COM持否定和严厉批判态度的。这位作者写道：COM的滥用导致现在软件质量的严重下降，COM的设计可以说是软件史上最严重的一次设计失误，COM的设计违反了软件设计的基本原理</description>
    <pubDate>2007-12-02</pubDate>
    <category>组件技术</category>
    <author>孟岩</author>
    <comments>CSDN博客</comments>
</item>
<item>
    <title>性能优化，控件和组件概念浅析</title>
    <link>http://www.kuqin.com/components/20070909/964.html</link>
    <description>性能优化 控件和组件概念浅析 分配大量小型类对象(如：10,000小型记录)最快和最佳方法是什么? 当然，MFC 序列流化对象可以完成所需的任务。但是，内存的分配和销毁相当耗时。有没有办法对此进行改进？ Dave Kerrison 我无法告诉你最好的方法，因为那取决与应用程序的具</description>
    <pubDate>2007-09-09</pubDate>
    <category>组件技术</category>
    <author>Paul DiLascia</author>
    <comments>酷勤网</comments>
</item>
<item>
    <title>超酷代码：来自 COM 经验的八个教训</title>
    <link>http://www.kuqin.com/components/20070909/963.html</link>
    <description>在下面的篇幅中，您将读到八位程序员的记述，这些教训都来自他们的痛苦经历。每个故事都是真实的，但为了保护无辜者，名字都已隐去。我的目的是，通过这些真实的 COM 故事，使您不再重蹈其他 COM 程序员的覆辙。</description>
    <pubDate>2007-09-09</pubDate>
    <category>组件技术</category>
    <author>Jeff Prosise</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（十八） 属性包</title>
    <link>http://www.kuqin.com/components/20070909/962.html</link>
    <description>本回着落在介绍属性包 IPersistPropertyBag 接口的实现方法和调用方式。属性包，是以“名称 - 值”的方式提供组件持续性的支持，而“名称 - 值”恰恰又适合于用文本方式来表现。下面的片段是在 HTML 中插入 Microsoft MonthView Control ActiveX 控件后的样式...</description>
    <pubDate>2007-09-09</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM 组件设计与应用（十七）持续性</title>
    <link>http://www.kuqin.com/components/20070908/961.html</link>
    <description>持续性，也叫永久性。组件方提供 IPersistXXX 接口，调用者（容器）提供存储介质，比如文件啦、内存啦、注册表啦、流啦、文本啦......需要保存的时候，调用者通过 IPersistXXX::Save() 接口函数让组件去自己存储属性信息，而调用者根本不用关心存储格式和存储内容…</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（十六）连接点(vc.net)</title>
    <link>http://www.kuqin.com/components/20070908/960.html</link>
    <description>1、一个 COM 组件，允许有多个连接点对象(IConnectionPoint)。也就是说可以有多个发生“事件”的源头。2、管理这些连接点的接口叫“连接点容器”(IConnectionPointContainer)。3、每一个连接点，可以被多个客户端的接收器(Sink)连接…</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（十五）连接点(vc6.0)</title>
    <link>http://www.kuqin.com/components/20070908/959.html</link>
    <description>1、一个 COM 组件，允许有多个连接点对象(IConnectionPoint)。也就是说可以有多个发生“事件”的源头。2、管理这些连接点的接口叫“连接点容器”(IConnectionPointContainer)。3、每一个连接点，可以被多个客户端的接收器(Sink)连接…</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（十四）事件和通知(vc.net)</title>
    <link>http://www.kuqin.com/components/20070908/958.html</link>
    <description>我的 COM 组件运行时产生一个窗口，当用户双击该窗口的时候，我需要通知调用者；我的 COM 组件用线程方式下载网络上的一个文件，当我完成任务后，需要通知调用者；我的 COM 组件完成一个钟表的功能，当预定时间到达的时候，我需要通知调用者；</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（十三）事件和通知(VC6.0)</title>
    <link>http://www.kuqin.com/components/20070908/957.html</link>
    <description>我的 COM 组件运行时产生一个窗口，当用户双击该窗口的时候，我需要通知调用者；我的 COM 组件用线程方式下载网络上的一个文件，当我完成任务后，需要通知调用者；我的 COM 组件完成一个钟表的功能，当预定时间到达的时候，我需要通知调用者…</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（十二）错误与异常处理</title>
    <link>http://www.kuqin.com/components/20070908/956.html</link>
    <description>程序设计中，错误处理必不可少，而且通常要占用很大的篇幅。本回书着落在 COM 中的错误（异常）的处理方法。在组件程序中，如果遇到错误，一般有两个方式进行处理。</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM 组件设计与应用（十一）IDispatch 及双接口的调用</title>
    <link>http://www.kuqin.com/components/20070908/955.html</link>
    <description>使用者要想调用普通的 COM 组件功能，必须要加载这个组件的类型库(Type library)文件 tlb(比如在 VC 中使用 #import)。然而，在脚本程序中，由于脚本是被解释执行的，所以无法使用加载类型库的方式进行预编译。</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（十）IDispatch 接口 for vc.net</title>
    <link>http://www.kuqin.com/components/20070908/954.html</link>
    <description>自动化(automation)是非常常用、非常有用、非常精彩的一个 COM 功能。由于 WORD、EXCEL 等 OFFICE 软件提供了“宏”的功能，就连我们使用的VC开发环境也提供了“宏”功能，更由于 HTML、ASP、JSP 等都要依靠脚本(Script)的支持，更体现出了自动化接口的重要性。</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（九）IDispatch 接口 for vc6.0</title>
    <link>http://www.kuqin.com/components/20070908/953.html</link>
    <description>自动化(automation)是非常常用、非常有用、非常精彩的一个 COM 功能。由于 WORD、EXCEL 等 OFFICE 软件提供了“宏”的功能，就连我们使用的VC开发环境也提供了“宏”功能，更由于 HTML、ASP、JSP 等都要依靠脚本(Script)的支持，更体现出了自动化接口的重要性。</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（八）实现多接口</title>
    <link>http://www.kuqin.com/components/20070908/952.html</link>
    <description>一个组件既然可以提供多个接口，那么我们在设计的时候，就应该按照函数的功能进行分类，把不同功能分类的函数用多个接口表现出来。</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM 组件设计与应用（七）编译、注册、调用</title>
    <link>http://www.kuqin.com/components/20070908/951.html</link>
    <description>“最小依赖”，表示编译器会把 ATL 中必须使用的一些函数静态连接到目标程序中。这样目标文件尺寸会稍大，但独立性更强，安装方便；反之系统执行的时候需要有 ATL.DLL 文件的支持。如何选择设置为“最小依赖”呢？答案是：删除预定义宏“_ATL_DLL”...</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM 组件设计与应用（六）用 ATL 写第一个组件</title>
    <link>http://www.kuqin.com/components/20070908/950.html</link>
    <description>这第一个组件，除了所有 COM 组件必须的 IUnknown 接口外，我们再实现一个自己定义的接口 IFun，它有两个函数： Add()完成两个数值的加法，Cat()完成两个字符串的连接。</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM 组件设计与应用（五）用 ATL 写第一个组件</title>
    <link>http://www.kuqin.com/components/20070908/949.html</link>
    <description>本回介绍第一个ATL组件程序的建立步骤，而如何使用该组件，敬请关注《COM 组件设计与应用(七)》。</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（四）简单调用组件</title>
    <link>http://www.kuqin.com/components/20070908/948.html</link>
    <description>COM 组件是运行在分布式环境中的 。于是，如何启动组件立刻就遇到了严重的问题，本文将解决可能遇到的问题…</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（三）数据类型</title>
    <link>http://www.kuqin.com/components/20070908/947.html</link>
    <description>COM 组件是运行在分布式环境中的。比如，你写了一个组件程序（DLL或EXE），那么使用者可能是在本机的某个进程内加载组件（INPROC_SERVER）；也可能是从另一个进程中调用组件的进程（LOCAL_SERVER）…</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM组件设计与应用（二）GUID 和 接口</title>
    <link>http://www.kuqin.com/components/20070908/946.html</link>
    <description>本章介绍了两个非常重要的概念：CLSID 和 Interface。由于全篇都是概念描述而没有示例程序相配合，可能读者的理解还不太深入、不彻底。别着急，我们马上就要进入到组件程序设计阶段了...</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>
<item>
    <title>COM 组件设计与应用（一）起源及复合文件</title>
    <link>http://www.kuqin.com/components/20070908/945.html</link>
    <description>复合文件，结构化存储，是微软组件思想的起源，在此基础上继续发展出了持续性、命名、ActiveX、对象嵌入、现场激活......一系列的新技术、新概念。因此理解和掌握 复合文件是非常重要的，即使在你的程序中并没有全面使用组件技术，复合文件技术也是可以单独被应用的。</description>
    <pubDate>2007-09-08</pubDate>
    <category>组件技术</category>
    <author>杨老师</author>
    <comments>vckbase.com</comments>
</item>

</channel>
</rss>
