RootWindowmanager initialization

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

RootWindowmanager initialization

Postby JohnConnor » Thu Apr 20, 2017 5:51 am

Hello,

I was playing with the cef client application and seem to have a problem if I try to initiate the RootWindoWmanager manually.
The code as follows:

Code: Select all
#include "tests\cefclient\browser\root_window_manager.h"
#include "tests\cefclient\browser\root_window.h"
#include "tests\shared\browser\main_message_loop.h"
int main() {
   client::RootWindowManager* manager = new client::RootWindowManager(false);
   CefRect windowBoundaries(0, 0, 400, 600);
   scoped_refptr<client::RootWindow> rootWindow = manager->CreateRootWindow(true, false, windowBoundaries, "http://www.google.com");
}


trying to build this will not build and give an error about unresolved external symbols for RootWindowManager(bool).... I have the headers included for "tests\cefclient\browser\root_window_manager.h".
Any idea what else I might be missing?

Thanks!
John.
JohnConnor
Techie
 
Posts: 21
Joined: Tue Mar 21, 2017 2:27 am

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 26 guests