   ID3DXFile::CreateEnumObject fails, help please
  Hi,I am trying to load an X file.char* pFileName = "tiny.x";ID3DXFile* pXFile;D3DXFileCreate(&pXFile);ID3DXFileEnumObject* pMeshEnum;HRESULT hr = pXFile->CreateEnumObject(pFileName, D3DXF_FILELOAD_FROMFILE, &pMeshEnum);hr = -2005531760Am i calling these methods correctly?i cant find an error code which matches that.I have tried D3DXF_FILELOAD_FROMWFILE option aswell with no luck.The design of this file class baffles me. How does one ID3DXFile differ from another? seams to me these methods should be static.I have searched google and these forums and the documentation is sketchy.Regards   
  -2005531760 is a D3DXFERR_PARSEERROR .;  ok thanks. I tried tiger.x and it worked :).Strange that a sample x file would have a parse error. Is this a known issue?or is it by design for some reason i am missing.   ;  I do this to load Tiny.x:V_RETURN( D3DXFileCreate(&pXFile) );V_RETURN( pXFile->RegisterTemplates( D3DRM_XTEMPLATES, D3DRM_XTEMPLATE_BYTES) );hr = pXFile->CreateEnumObject(XfileName, D3DXF_FILELOAD_FROMFILE, &pXFileEnum);Maybe you need to register them templates first.   ;  For future refrence you can use the DirectX error look up tool on any return values from the directX code and it should give you a fairly good idea on what the problem is.This tool comes with the directX SDK under the tools section.   