BEGIN_CONNECTION_POINT_MAP(CPolyCtrl)
CONNECTION_POINT_ENTRY(IID_IPropertyNotifySink)
CONNECTION_POINT_ENTRY(IID__IPolyCtrlEvents)
END_CONNECTION_POINT_MAP()
error C2065: 'IID__IPolyCtrlEvents' : undeclared identifier
error C2440: 'static_cast' : cannot convert from 'class CPolyCtrl *' to 'class ATL::_ICPLocator *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
error C1903: unable to recover from previous error(s); stopping compilationCPolyCtl是我的atl的 Full   Control   对象     
IID_IPolyCtlEvents是连接点的定义 
这些是我对着MSDN上的说明做的. 有朋友解决问题 把IID__IPolyCtrlEvents  改为 DIID__IPolyCtrlEvents .就不出错了.但没说为什么.我想问的是:为什么得把IID__IPolyCtrlEvents  改为 DIID__IPolyCtrlEvents, 前者是编辑器生成的.这样改有什么依据吗?
谢谢!!!