Original Post
Hi everyone... Recently, I've learned how to program with DirectX interfaces in order to start the developmentof my own game engine (I'm using Visual C++ 6.0). I've already implemented sound, input and graphical support to my application, but I can't load animations from .X files. I'm trying to load animations with D3DXLoadMeshHierarchyFromX, and, in order to do that, I've created the following class: "class CAllocateHierarchy : public ID3DXAllocateHierarchy" and implemented the functions: CreateFrame, CreateMeshContainer, DestroyFrame and DestroyMeshContainer, according to the DirectX MultiAnimation sample. However, when I create a pointer to this interface ("CAllocateHierarchy * pAH"), it returns NULL or = to 0xcccccccc. Tried everything I could think of, but still can't load any animation... If that helps, I can post my code. Thanks everyone. =)