摘要
从目前的发展来看,组件技术伴随电子商务的发展近些年来进展很快,已成为电子商务应用开发技术的一个主流方向。分层开发的技术思想使软件开发有了明确的分工,从而有效地降低了开发的难度。为了减少层次之间的耦合性,经常需要在服务器端实现客户端不可直接创建的COM(组件对象模型)对象。通过对COM对象的内部分析及微软提供的活动模板库(ATL)中的CComOb ject类的详细分析,叙述了在服务器端正确创建只能由客户端访问但不能由客户端创建的COM对象的过程。
With present development,the technology of component develop very fast in recent years,going with the developing of electronic commence.The technology of layering effectively reduce the difficulty of development.In order to reduce the coupling in between layers, it is necessary to create a COM object in the server,which can't create directly in the client.Through the analysis of the COM object and the 'CComObject' class in the ATL,it illustrate the process of how to create this COM object.
出处
《杭州电子工业学院学报》
2004年第1期39-42,共4页
Journal of Hangzhou Institute of Electronic Engineering