Exemple #1
0
        internal static int ExecuteProcess(string pipeName)
        {
            //System.Diagnostics.Debugger.Launch();

            connection = new RemoteConnection(pipeName, true);

            var call = new RenderProcessMainRemoteCall();

            call.RequestExecution(connection);
            return(call.__retval);
        }
Exemple #2
0
        internal static int ExecuteProcess(string pipeName)
        {
            //System.Diagnostics.Debugger.Launch();

            var pipeIn  = PipeFactory.Instance.CreateClientPipeInputStream(pipeName + "so");
            var pipeOut = PipeFactory.Instance.CreateClientPipeOutputStream(pipeName + "si");

            connection = new RemoteConnection(pipeIn, pipeOut, true);

            var call = new RenderProcessMainRemoteCall();

            call.RequestExecution(connection);
            return(call.__retval);
        }