Archived

This topic is now archived and is closed to further replies.

Arcus

Problems using SampleGrabber in DShow

Recommended Posts

I am trying to use the SampleGrabber in my app. I am having problems compiling when I include the qedit.h file. The errors I am getting are as follows:
should not include d3dtypes.h when compiling for DX8 or newer interfaces
F:\DirectX81SDK\include\d3drmobj.h(46) : warning C4005: 'WIN_TYPES' : macro redefinition
        F:\DirectX81SDK\include\dxfile.h(48) : see previous definition of 'WIN_TYPES'
F:\DirectX81SDK\include\d3drmobj.h(274) : error C2061: syntax error : identifier 'LPDIRECT3D'
F:\DirectX81SDK\include\d3drmobj.h(299) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE'
F:\DirectX81SDK\include\d3drmobj.h(314) : error C2061: syntax error : identifier 'LPDIRECT3D'
F:\DirectX81SDK\include\d3drmobj.h(339) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE'
F:\DirectX81SDK\include\d3drmobj.h(344) : error C2061: syntax error : identifier 'LPDIRECT3D2'
F:\DirectX81SDK\include\d3drmobj.h(348) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE2'
F:\DirectX81SDK\include\d3drmobj.h(363) : error C2061: syntax error : identifier 'LPDIRECT3D'
F:\DirectX81SDK\include\d3drmobj.h(388) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE'
F:\DirectX81SDK\include\d3drmobj.h(393) : error C2061: syntax error : identifier 'LPDIRECT3D2'
F:\DirectX81SDK\include\d3drmobj.h(397) : error C2061: syntax error : identifier 'LPDIRECT3DDEVICE2'
F:\DirectX81SDK\include\d3drmobj.h(454) : error C2061: syntax error : identifier 'LPDIRECT3DVIEWPORT'
F:\DirectX81SDK\include\d3drmobj.h(500) : error C2061: syntax error : identifier 'LPDIRECT3DVIEWPORT'
F:\DirectX81SDK\include\d3drm.h(74) : error C2061: syntax error : identifier 'LPDIRECT3D'
F:\DirectX81SDK\include\d3drm.h(156) : error C2061: syntax error : identifier 'LPDIRECT3D2'
F:\DirectX81SDK\include\d3drm.h(240) : error C2061: syntax error : identifier 'LPDIRECT3D2'
 
As soon as I comment out the include of the qedit.h file, I am able to compile fine. I thought it might have to do with some legacy files that were getting included in the qedit.h file, but I am able to load the samples and compile them. Any help would be greatly appreciated. Thanks. OS: Win2k SDK: 8.1 Edited by - Arcus on February 6, 2002 5:43:36 PM

Share this post


Link to post
Share on other sites