Original Post
Hello, I am trying to call ID3DXAllocateHierarchy::CreateFrame, but I am getting this error "error C2352: 'ID3DXAllocateHierarchy::CreateFrame' : illegal call of non-static member function." I thought maybe I needed to have an object to call it, but it wouldn't let me. So how do I need to call this then? I have this now:
LPD3DXFRAME* ppNewFrame;
LPCSTR frame1;
ID3DXAllocateHierarchy::CreateFrame(
frame1,
ppNewFrame
); Any advice? Thanks!