Recommended Posts

Hello,
I'll cut straight to the chase. I have a ParseXFileData function, which (of course) parses XFiles for their data. It first gives a call to ID3DXFileData->GetType() and stores the information into a GUID *Type. Then all the possible Types are checked:

Most of the function isn't that important but the last part of the function gives some errors. I'm converting code from a book that uses DirectX 9.0a so instead of IDirectXFileData I use ID3DXFileData. The problem is that ID3DXFileData doesn't have a GetData() function as used in the last part of the code.
Can someone help to convert this part to DirectX SDK9.0c?
(Also: I use C++, MVSC++, and the books' "programming Role Playing Games with DirectX")
-Stenny