ISampleGrabber undeclared identifier
问题 I'm trying to execute a code generated by graphEditPlus (using VS2010) but having a trouble with the following line: CComQIPtr<ISampleGrabber, &IID_ISampleGrabber> pSampleGrabber_isg(pSampleGrabber); where the errors are: error C2065: 'ISampleGrabber' : undeclared identifier error C2065: 'IID_ISampleGrabber' : undeclared identifier error C2514: 'ATL::CComQIPtr' : class has no constructors I tried downloading different versions of Windows SDK (V7.1, V6.0A, V5) and set the include / lib paths