Пример #1
0
 public void Unload()
 {
     if (!Loaded)
     {
         Win32.FreeLibrary(_dllPtr);
     }
     _rvextension = null;
     Loaded       = false;
 }
Пример #2
0
 public void Load(String dllPath)
 {
     if (!File.Exists(dllPath))
     {
         throw new ARMAExtException();
     }
     _dllPtr      = Win32.LoadLibrary(dllPath);
     _rvextension = loadFunction <RVExtension_t>("_RVExtension@12");
     Loaded       = true;
 }