at the moment i do a DLL for Openplanet, i want to have good Drawing Functions, for 2D and 3D. But i have sometimes Problems with OP, if i create a Window in the DLL(RegisterClass, CreateWindow), it works, but sometimes maniaplanet freezes and still freezed after closing the window(when the window was moved, i'm not sure if this is my mistake, Logs are Empty) just wanted to make a video, there everything works, demonstration effect.

In what ways it is allowed access data? May I, for example, Redirect EndScene () for overlays?
Regards, Derfuhr.