rzellertownson / neurorighter

Closed Loop, Open Source Electrophysiology
6 stars 5 forks source link

Closed loop dll's are not correctly loaded #37

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
As it currently stands, closed loop dll's are not correctly loaded.

This is because they are loaded in the same applicaiton domain as NeuroRighter 
and all the libraries it uses. Application domains allow assembies to by loaded 
into them during runtime, but they won't release those assembies until the 
applicaiton domain that they exist in is destroyed. That means that once you 
load a dll, you cannot load another without restarting NR.

To fix, the dll must have its own application domain. This is a bit tricky. I 
added some code to get it started in r420, but it is not functional. 

Original issue reported on code.google.com by jonathan...@gmail.com on 9 Jan 2012 at 1:59

GoogleCodeExporter commented 9 years ago

Original comment by jonathan...@gmail.com on 5 Apr 2012 at 5:08