I was wondering if it was supported to supply a callback function to a constructor. Like this code does when creating a ResolveEventHandler. I would like to use it to load an assembly
in an arbitrary location using the AppDomain like http://www.chilkatsoft.com/p/p_502.asp.
private void Form1_Load(object sender, EventArgs e)
//The AssemblyResolve event is called when the common language runtime tries to bind to the assembly and fails.
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.AssemblyResolve += new ResolveEventHandler(currentDomain_AssemblyResolve);
Assembly currentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
Also, when loading an assembly, I think I am supposed to put the dll into the C:\Program Files\IronScheme directory? I tried something like
(clr-reference "Core") (clr-using "Core") (new Core.Aut) but it throws an error saying it cant find the type. Also, is it supposed to throw an error when i referencce a non-existing