Code:
if(FAILED(hr=D3DXLoadSkinMeshFromXof( (LPD3DXFILEDATA) pDataObj, TempLoadFlags,
                                       pDevice, &AdjacencyBuffer,
                                       &MaterialBuffer, NULL,
                                       &NumMaterials, &pSkin,
                                       &pLoadMesh)))
In here, pDataObj and AdjacencyBuffer have an valid address.
MaterialBuffer, pSkin and pLoadMesh contains 0x00000000
and NumMaterials is on the stack, having initialized to 0
Any ideas why I have access violation to ntdll.dll?
Thanks
Jack