DirectShow 下 BaseClasses 编译错误
D:\DXSDK\Samples\C++\DirectShow\BaseClasses\amextra.cpp(108) : error C2664: 'NotifyEvent' : cannot convert parameter 2 from 'long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
amfilter.cpp
D:\DXSDK\Samples\C++\DirectShow\BaseClasses\amfilter.cpp(770) : error C2511: 'NotifyEvent' : overloaded member function 'long (long,long,long)' not found in 'CBaseFilter'
.\amfilter.h(148) : see declaration of 'CBaseFilter'
D:\DXSDK\Samples\C++\DirectShow\BaseClasses\amfilter.cpp(2936) : error C2664: 'NotifyEvent' : cannot convert parameter 2 from 'long' to 'unsigned long *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
。。。。。。。。。。。。。。。。。。。。
都是这种类型错误,是什么原因呀?