Original Post
I have run into an error and was hoping someone would have some insight. Basically, I create a direct draw object and then attempt to create the d3d device. When I try to create the d3d device, I get a linker error that states that ddraw does not recognize the given interface.
But I think the problem is arising in the call creating the direct 3d device. The pointer is still set to null(0) when the call returns. I am at work so I don''t remeber exactly what I wrote but it is basically
directdraw7->QueryInterface(IID_IDirect3DDevice, &d3dPointer) where d3d pointer is an LPDIRECT3DDEVICE (I think).
I have not tried to trash the INITGUID and link with the dxgiud.lib but this should be equivalent, as far as I know.