Strange problem with D3D init

Started by
1 comment, last by vallis 23 years, 10 months ago
error C2039: ''CreateDevice'' : is not a member of ''IDirect3D'' f:\platform sdk\include\d3d.h(199) : see declaration of ''IDirect3D'' It is declared like this... LPDIRECT3D D3D; And aquired like this... DD->QueryInterface(IID_IDirect3D7, (VOID**)&D3D); Thanks in advance...
Advertisement
Try changing LPDIRECT3D to LPDIRECT3D7.

--TheGoop
That''t the ticket

Thanks TheGoop

This topic is closed to new replies.

Advertisement