摘要
COM/DCOM是突破性的技术 .它是一种与操作系统和编程语言无关的软件构架 ,它将功能软件以即插即用的方式集成到应用中 ,便于软件系统的设计、升级和维护 ,降低成本 ,提高效率 .DCOM是扩展了的COM ,能够支持在局域网、广域网甚至Internet上不同计算机对象之间的通讯 .使用多重接口是COM迈向DCOM必不可少的一步 .这里介绍了COM/DCOM中利用嵌套类实现多重接口的技术 。
COM refered to a software framework regardless of the operating system and programming languages.It integrated function-software into applications by plug-and-in mode,which made the software easy to design, upgrade and maintain.Thus the cost was lowered and the efficiency was raised.DCOM was the extended COM.It enabled communication between different computer objects in LAN,WAN even in Internet.It was the necessary step to apply multi-port to extend COM to DCOM.This topic introduced COM's technology of using nesting class to form multi-port,also provided a sample of COM's application.