Ejemplo n.º 1
0
        //-----------Public functions----------------------------------------------

        public CoreLib()
        {
            try
            {
                m_dll = new CoreDll();
            }
            catch
            {
                throw new Exception("Can't load core library!");
            }
            if (Version.Compatible(GetVersion(CoreDll.VersionType.AntiDupl)))
            {
                m_handle = m_dll.adCreate();
            }
            else
            {
                throw new Exception("Incompatible core library version!");
            }
        }