@Stromausfall:

Thanks for the great wrapper again. Exactly what i need right now.

I need to embed engine in a form, there is an example in your site, but i figured out a simpler approach:

Code:
EngFun.video_window(null, null, 256, null);
EngFun.video_set(panelEngine.Width,panelEngine.Height,0,0);
EngVar.hWndTarget = panelEngine.Handle;
EngVar.hWndParent = this.Handle;



you just have to make sure you set EngVar.d3d_lockable to 1 after engine_open and before first frame. Then use the code i posted above AFTER first frame.


3333333333