Original Post
I'm learing Direct3D with the book Introduction to 3D Game Programming with DirectX. I compiled a sample program that use D3DXCreateTeapot function to create a teapot, there has no errors when compiled. but when I run it,an error occured at function D3DXCreateTeapot, the code is ID3DXMesh* Teapot = 0; D3DXCreateTeapot(Device, &Teapot, 0); I found the Teapot parameter return is 0x00000000, and I get an error code of 1150(The specified program requires a newer version of Windows) when use GetLastError() function; my operating system is Windows2000. Is Windows2000 not support the D3DXCreateTeapot function? Thank you for your concern!