看到一篇讲创建ActiveX DLL的文章上有这么一段:“在BandUnit中,需要建立一个实现上面提到的接口的TComObject对象。如下:
TGetMailBand = class(TComObject, IDeskBand, IObjectWithSite, IPersistStreamInit)”
我是这么做的:
我选New... Other然后是ActiveX页上的COM Object,结果根据弹出窗口建立的对象是这样的:
TGetMailBand = class(TTypedComObject, ITGetMailBand),请问上面的这个对象怎么建立?  我的意思是:
TGetMailBand = class(TComObject, IDeskBand, IObjectWithSite, IPersistStreamInit)
这一句应当是Delphi IDE创建立的吧,就比如你点“new form”这个菜单,Delphi就会自动为你把创建Form的代码生成了,那么上面这个是怎么出来的啊?