Creating a Windowless (headless, offscreen) console app

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

Creating a Windowless (headless, offscreen) console app

Postby bgiggle » Wed Sep 07, 2016 7:58 am

Hi Everyone,

I am currently trying to create a windowless console app using the latest CEFGlue, I have seen this http://joelverhagen.com/blog/2013/12/he ... h-cefglue/ which seems to work great but is using an old version of CEFGlue, after updating the version and a few lines of code I cannot seem to produce the same results (none of the handlers seem to be getting called) I can also run the WpfOsr sample.

Has anyone had any success running CefGlue in a console environment?

Is there any information that would help diagnose my problems?

The settings I am using:

Code: Select all
            var cefSettings = new CefSettings
            {
                // BrowserSubprocessPath = browserSubprocessPath,
                SingleProcess = false,
                WindowlessRenderingEnabled = true,
                MultiThreadedMessageLoop = false,
                LogSeverity = CefLogSeverity.Verbose,
                LogFile = "cef.log",
            };



Thanks a lot
bgiggle
Newbie
 
Posts: 1
Joined: Wed Sep 07, 2016 7:34 am

Re: Creating a Windowless (headless, offscreen) console app

Postby fddima » Tue Sep 27, 2016 11:20 pm

Sorry for delay. It is should be something unrelated to application type (console/win). You can set console app type for wpfosr or demo and see.
fddima
Master
 
Posts: 788
Joined: Tue Dec 07, 2010 6:10 am


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 8 guests