Hi

>
>No, there are no restrictions. But i am not sure if I really understand
>the above example.
>

To be a littlebit more precicely:

I call with mono_jit_exec a method, which initializes some QtC# objects. Those create 
reall QWidgets, which are handled by the main event loop of my hosting application, 
since it is a QApplication. Those created QWidgets  are able to call back into the c# 
code (eg button clicks,....).

In the qtc# examples and in the gtk-sharp examples, the main event loop is created 
from within the c# code's main method. My main method returns immediatly though, to 
avoid blocking the hosting application, which already has a main event loop. 

I had not been sure, if it is really save that the widgets still call back into the c# 
code.

----

Another question:
Why does the init method already need the filename ?
If I get it right, I can still open more than one assembly  at the same within the 
same domain by calling: assembly = mono_domain_assembly_open (domain, file); right ?
Otherwise I could only load one plugin at a time, which wouldn't make much sense for 
me.

Kind regards
Joseph Wenninger


Reply via email to