#include "xxx_i.c"  //包含了相应的GUID定义文件
#include "xxx.h"
...
Class CMyClass :
   ...
   public IDispEventImpl<0,CDataSink,&DIID__IMyEvents,&LIBID_IMyLib>
{
   ...
}编译时出现错误:
error C2970: 'IDispEventImpl' : template argument 'pdiid' : invalid address of static variable 'DIID__IMyEvents'何解??????