[Mono-list] Embedding mono
Joe Ante
joe@uti.is
Tue, 22 Jun 2004 22:30:24 +0200
HI,
At the moment I am compiling all my scripts into one assembly.
When a script is changed I serialize all scripts, compile all the scripts
into one assembly, call mono_domain_assembly_open to open the domain, create
all the script representations again and load the serialized state in again.
This was all very easy and straightforward to do.
Now I would like to:
1) Unload the old assembly. Is that possible? Which function should I use?
2) I would like to be able to load the assembly from memory if that is
somehow possible without too much work. I tried using
mono_image_open_from_data but that crashed the app so I assume I am not
supposed to *just* call that function.
Joe Ante