Esempio n. 1
0
 public static DllInvoke GetDllInvoke()
 {
     if (_dllInvoke == null)
     {
         if (string.IsNullOrEmpty(sDllPath))
         {
             sDllPath = String.Format(@"{0}pos_ad_dll.dll", Utils.Substitute(AppDomain.CurrentDomain.BaseDirectory, @"\"));
         }
         _dllInvoke = new DllInvoke(sDllPath);
     }
     return(_dllInvoke);
 }
Esempio n. 2
0
 public static void MyDispose()
 {
     _dllInvoke.MyDispose();
     _dllInvoke = null;
 }