public Help2RegisterClass()
        {
            try
            {
                registerSession = new HxRegisterSessionClass();
                registerSession.CreateTransaction("");

                register = (IHxRegister)registerSession.GetRegistrationObject(HxRegisterSession_InterfaceType.HxRegisterSession_IHxRegister);
                filters  = (IHxFilters)registerSession.GetRegistrationObject(HxRegisterSession_InterfaceType.HxRegisterSession_IHxFilters);
                plugins  = (IHxPlugIn)registerSession.GetRegistrationObject(HxRegisterSession_InterfaceType.HxRegisterSession_IHxPlugIn);
            }
            catch (System.Runtime.InteropServices.COMException)
            {
            }
        }
        public Help2RegisterClass()
        {
            try
            {
                registerSession = new HxRegisterSessionClass();
                registerSession.CreateTransaction("");

                register = (IHxRegister)registerSession.GetRegistrationObject(HxRegisterSession_InterfaceType.HxRegisterSession_IHxRegister);
                filters  = (IHxFilters)registerSession.GetRegistrationObject(HxRegisterSession_InterfaceType.HxRegisterSession_IHxFilters);
                plugins  = (IHxPlugIn)registerSession.GetRegistrationObject(HxRegisterSession_InterfaceType.HxRegisterSession_IHxPlugIn);
            }
            catch (System.Runtime.InteropServices.COMException)
            {
            }
        }
Beispiel #3
0
        public HelpRegistrar()
        {
            try
            {
                _hxRegisterSession = new HxRegisterSessionClass();
                _hxRegisterSession.CreateTransaction("");

                _hxRegister = (IHxRegister)_hxRegisterSession.GetRegistrationObject(
                    HxRegisterSession_InterfaceType.HxRegisterSession_IHxRegister);
                _hxFilters = (IHxFilters)_hxRegisterSession.GetRegistrationObject(
                    HxRegisterSession_InterfaceType.HxRegisterSession_IHxFilters);
                _hxPlugins = (IHxPlugIn)_hxRegisterSession.GetRegistrationObject(
                    HxRegisterSession_InterfaceType.HxRegisterSession_IHxPlugIn);
            }
            catch (COMException)
            {
            }
        }