Jump to content
  • Advertisement

Archived

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

Arcus

Problems using SampleGrabber in DShow

This topic is 5977 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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
Advertisement
I am not including it. It is being included somewhere in the chain with qedit.h which is the required file.

Arcus

Edited by - Arcus on February 6, 2002 9:21:26 PM

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!