Now I have MyGUI's source in DirectX platform. HGE has been changed to DirectX9 and I can get the device handle. The program can run. But the HGE's image could not display. When I cancel the funtion "mPlatform->getRenderManagerPtr()->drawOneFrame()", the HGE's image can be seen. Do someone has the experience of use HGE and MyGUI together or send me a demo? Do I have to mofify MyGUI's code for the use in HGE?