vb.net - Reflection and loading of dlls -


i trying create generc vb.net import program loading in dlls usings method cant figure out how unload dll once finished . can hangs in memory , of course cant see in task manager nead way close dll after

  public shared function  createinstance(byval plugin availableplugin) object    dim objdll [assembly]     dim objplugin object      try         'load dll         objdll = [assembly].loadfrom(plugin.assemblypath)          'create , return class instance         objplugin = objdll.createinstance(plugin.classname)     catch e exception         return nothing     end try      return objplugin end function 


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -