예제 #1
0
 public void Dispose()
 {
     Release();
     if (_dll != null)
     {
         _dll.Dispose();
         _dll = null;
     }
     GC.SuppressFinalize(this);
 }
예제 #2
0
        //-----------Public functions----------------------------------------------

        public CoreLib()
        {
            try
            {
                _dll = new CoreDll();
            }
            catch (Exception ex)
            {
                throw new Exception("Can't load core library! " + Environment.NewLine + ex.Message);
            }
            _dll.adCreate();
        }