Hello everyone, I'm playing around with MDX 2.0 and while converting my code from MDX 1.1, I suddenly got an error while trying to load a FrameHierarchy from an .x-file. I've adjusted the code according to the changes in the api and the code compiles just fine, but when it tries to call the Mesh.LoadHierarchy method, it gives me a DirectXException. The ExceptionHelper doesn't really live up to it's name in this case as it offered me no further understanding and I can't find any information on the internet either. Does anyone know if I have to change something in the code to adjust to MDX 2.0 or if there's some kind of bug with this method since it's still in beta
I would be very thankfull for some help on this matter since it's starting to drive me crazy...

MDX 2.0 FrameHierarchy problem...
pradeepp
Ok, that's what I thought. Just to be clear, I'm not using it for production code, I'm just playing around and trying to learn Direct3D as I haven't used it much before. I started using MDX 1.1 but got interested in 2.0 and decided to convert the code, but I guess I have to convert it back now.
Well anyway, thanks for the answer!
Raju_Sreenivasan
This is why all software companies tell you never to write production code on a beta, they often change and occasionally get cancelled. They are for learning and testing only. If you gamble against that then its your project risk not Microsofts problem.
I've not seen any XNA framework code but I suspect it will look very similar to MDX 2.0 - do you really think Tom will rewrite it all so your skills learnt will still be relevant when it releases.
amitabhcy
MDX 2.0 is not longer being worked on, and it still has bugs in it
i have the exact same Mesh.LoadHierarchy(...) prob as you, i get a DirectXException and a big integer as a error code.
read up about XNA framework.
(i maybe wrong about LoadHierarchy(...), it may work, if it does can someone post some code, but i have not be successful in getting it to work)
(now i have to spend hours and hours chaning my code back to use MDX1.1 (angry face))