Ejemplo n.º 1
0
        public static int Main(string[] args)
        {
            Kernel32.OutputDebugString("BrowserSubprocess starting up with command line: " + String.Join("\n", args));

            CefAppWrapper.EnableHighDPISupport();

            int result;

            using (var subprocess = Create(args))
            {
                result = subprocess.Run();
            }

            Kernel32.OutputDebugString("BrowserSubprocess shutting down.");
            return(result);
        }
Ejemplo n.º 2
0
        static int Main(string[] args)
        {
            Kernel32.OutputDebugString("BrowserSubprocess starting up with command line: " + String.Join("\n", args));

            //MessageBox.Show("Please attach debugger now", null, MessageBoxButtons.OK, MessageBoxIcon.Information);

            int result = 0;

            using (var subprocess = new CefSubprocess())
            {
                var wrapper = new CefAppWrapper(subprocess);

                result = wrapper.Run(args);
            }

            Kernel32.OutputDebugString("BrowserSubprocess shutting down.");
            return result;
        }
Ejemplo n.º 3
0
        static int Main(string[] args)
        {
            Kernel32.OutputDebugString("BrowserSubprocess starting up with command line: " + String.Join("\n", args));

            //MessageBox.Show("Please attach debugger now", null, MessageBoxButtons.OK, MessageBoxIcon.Information);

            int result = 0;

            using (var subprocess = new CefSubprocess())
            {
                var wrapper = new CefAppWrapper(subprocess);

                result = wrapper.Run(args);
            }

            Kernel32.OutputDebugString("BrowserSubprocess shutting down.");
            return(result);
        }