Пример #1
0
        public static equ8_err initialize(string equ8_dir, int production)
        {
            equ8_err err = resolve_api(equ8_dir, production);

            if (!err.is_ok())
            {
                return(err);
            }
            err            = equ8_err.create(ptr_equ8_client_initialize());
            is_initialized = err.is_ok();
            return(err);
        }
Пример #2
0
        public static equ8_err initialize(string equ8_dir, int production)
        {
            equ8_err err = resolve_api(equ8_dir, production);

            if (!err.is_ok())
            {
                return(err);
            }

            string[] paths = { equ8_dir, "equ8_server.config" };
            err            = equ8_err.create(ptr_equ8_sm_initialize(System.IO.Path.Combine(paths)));
            is_initialized = err.is_ok();
            return(err);
        }