In here, pDataObj and AdjacencyBuffer have an valid address.Code:if(FAILED(hr=D3DXLoadSkinMeshFromXof( (LPD3DXFILEDATA) pDataObj, TempLoadFlags, pDevice, &AdjacencyBuffer, &MaterialBuffer, NULL, &NumMaterials, &pSkin, &pLoadMesh)))
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