DirectX 10

Hi, I’m having a frustrating problem trying to create the device. As you can see in the code block I’m trying to first of all use the hardware to act as the device, however for some reason my hardware is not picking up on it. I thought maybe it was my drivers because if I use the “Reference” driver type, then it passes the creation with no problems. So I went to nVidia’s website and found Win 7 drivers for my 7950 gt graphics card. I updated my drivers and I still have the same issue. From everything I could find, that update allows DirectX 10 and DirectX 11 to work through my card. Any ideas on if I’m missing something in my configuration settings would be greatly appreciated. My school doesn’t have win 7 pcs, so that’s why I want to stick to D3D10.

PC

Win 7 (64)

Visual Studios 2005

nVidia GeForce 7950 gt

HRESULT hr = D3D10CreateDeviceAndSwapChain(NULL,   

											   D3D10_DRIVER_TYPE_HARDWARE,   

											   NULL,   

											   deviceFlags,   

											   D3D10_SDK_VERSION,   

											   &scDesc,   

											   &swapChain,   

											   &d3dDevice);   

	   

	if (FAILED(hr))   

	{   

		hr =  D3D10CreateDeviceAndSwapChain(NULL,   

											D3D10_DRIVER_TYPE_REFERENCE,   

											NULL,   

											deviceFlags,   

											D3D10_SDK_VERSION,   

											&scDesc,   

											&swapChain,   

											&d3dDevice);   

		if (FAILED(hr))   

		{   

			return;   

		}   

	}

A GeForce 7950 gt is a DX9.0c card. It won’t work with DX10/11.

You can install DX9.0c side by side with DX10/11 and use it for DX9 apps, but DX10 apps require GF 8xxx or newer. DX11 will require even newer hardware.

Buy a 8500GT card and you will be DX10, but I think there is no difference between the special 9 and 10.

i recommend jumping in to the new wourld of gtx cards, or heck, i got a gt 630 for less than 50$ new and that think is a dx11 card that can play most modern games on low settings. battle filed 4 even runs decent on it with low settings.