예제 #1
0
파일: xsb.cs 프로젝트: AdamSobieski/Logic
 private static void UnLoadUnmanagedLibrary()
 {
     if (!_hLibrary.IsClosed)
     {
         _hLibrary.Close();
         do
         {
             // be sure to unload swipl.sll
         } while (_hLibrary.UnLoad());
         // m_hLibrary.UnLoad();
         _hLibrary.Dispose();
         _hLibrary = null;
     }
 }
예제 #2
0
 internal static extern IntPtr GetProcAddress(SafeLibraryHandle hModule, String procname);
예제 #3
0
 internal static extern IntPtr dlsym(SafeLibraryHandle hModule, String procname);