如何定义一个有模板的接口+1个问题
ohahu 2004-07-05 11:59:28 1.如何定义一个有模板的接口,包括idl怎么写
派生连接点的时候,有
template <class T>
class CProxy_IyEvents : public IConnectionPointImpl<T, &DIID__IyEvents, CComDynamicUnkArray>
{ //Warning this class may be recreated by the wizard.
像这样有模板的接口怎么写
2.VC自动添加的ATL对象都是和类一起添加的
怎么样只添加接口,不生成类方便一点
直接写??