below is my steps:
1, load a page just like cefsimple
2, modify TestCefApp just like below:
- Code: Select all
class TestCefAPP : public CefApp, public CefBrowserProcessHandler, public CefRenderProcessHandler
and then, override the OnContextCreated and GetRenderProcessHandler ( with implement that return this)
there create function in OnContextCreated.
but OnContextCreated never be called.
i googled for a bit long time and could anyone give me any suggestions? there have some topices related to the same issue but there no useful conclusion.
thanks