-
September 25th, 2002, 02:38 AM
#1
Help about DirectX 8.1 SDK Tutorial 1
Hi,
When I compiled and ran the sample code from DirectX 8.1 SDK Tutorial 1,
CreateDevice, I got a D3DERR_INVALIDCALL return value from CreateDevice()
and the sample app failed.
...
HRESULT hRst = g_pD3D->CreateDevice( D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL,
hWnd,
D3DCREATE_SOFTWARE_VERTEXPROCESSING,
&d3dpp, &g_pd3dDevice );
...
I did copy the code from Platform SDK without any changes. And I am sure
that I have installed DirectX 8.1.
Is there anyone know what this error means? What should I do then? I am a
freshmen for DirectX SDK development.
Thanks for your help in advance.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|