报一个莫名其妙的错?!
在作com组件的时候报错:
[C++ Error] atlcom.h(1877): E2352 Cannot create instance of abstract class 'CComObject<TCoUI_DataImpl>'
[C++ Error] atlcom.h(1877): E2353 Class 'CComObject<TCoUI_DataImpl>' is abstract because of '__stdcall IDispatch::GetTypeInfoCount(unsigned int *) = 0'
似乎是GetTypeInfoCount(unsigned int *) 这个函数没实现?
工程里就没有定义这个函数呀,怎么会这样子?