[Mono-dev] Emedding mono: System.Windows.Form trouble

2011-03-03 Thread Guy Sherman
Hi, I'm working on a sandbox game engine, with mono as the scripting language. Tonight I got it to attach a DirectX rendering context to a Windows Forms window created by some .NET code running in mono. I have injected two methods into the runtime: void

Re: [Mono-dev] Emedding mono: System.Windows.Form trouble

2011-03-03 Thread Robert Jordan
On 03.03.2011 11:09, Guy Sherman wrote: The program then continues on to process the main event loop of the C++ side of things. It seems like you don't start WinForms' event loop machinery at all. This is done by invoking Application.Run(Form) or one of its overloads. Of course, this won't fly