[Mono-list] Fwd: embedding mono runtime

Miguel de Icaza miguel@ximian.com
08 Aug 2002 12:06:59 -0400


Hello,

> How do you create GUI elements in the host application from that second thread 
> ? Do the bindings have to do the synchronizing between the threads, or has 
> this to be done by the embedded c# application ? Where can I get that 
> mono-in-gnumeric hack ?

The patches to mono-in-gnumeric were posted to the mono-hispano list,
but then Rodrigo translated it and sent it here (mono-list).

There are a number of options on how you can use Mono in your
application.  In the gnumeric case, I wanted something quick, and I
wanted to be running a web server in a separate thread, so I had to come
up with that hack.

But what you are doing is a lot simpler: you are going to use the
runtime to drive scripts.  That can be done completely synchronously. 
For example, you could basically have your keystroke invoke commands
(either C++ ones or Mono-based ones).

Miguel.