hi guys~ i have a problem loading skinning mesh.

Hi. i'm joey park.
i have tried to load my model but, it doesn't work at all.
the problem is that when i use D3DXLoadMeshHierarchyFromX function to load a skinning model,
it doesn't return valid LPD3DXFRAME and LPD3DXANIMATIONCONTROLLER.
the function returns invalid pointers of them.
however, when i load my model on directX viewer, it works well.
I'm not sure but, I think my CreateFrame and CreateMeshContainer functions have some problems.
I attached my source code and x file.
if you need max file, i'll send you by email because the file is too big to attach.
anyway, if anyone know what the problem is, please help me.
it would be appriciated.
thank you.

I have not read your code,

I have not read your code, but if the function returns bad pointers, then the problem is in your C++ code. I don't generally read and fix people's code, unfortunately (well, unless it happens to be paid work :-). I recommend the DirectX forum on www.gamedev.net for help with specific code issues related to DirectX.
Good luck on your project!

Well...Thank you for the reply

the main problem is my souce code works well when i use panda exportor.
however, panda exportor has some problems so, i have to use kw-xport.
anyway..i'll find what is the problem.