Hi, I am trying to do the Javascript-C++ bindings in our application and have most of the code in order.
The problem seems to be it does not work because the render process handler's lifecycle callbacks (onContextCreated etc) don't seem to be called, so the v8 bindings do not happen. Thus the javascript test dialog I have shows "undefined" instead of the string I am setting it to be in onContextCreated.
I've read all the posts on here with similar issues and cannot seem to figure out the problem. I have all the little things everyone else missed then seemed to get their app to work - overridden GetRenderProcessHandler, calling CefExecuteProcess on the app class that extends CefRenderProcessHandler, etc. The render process lifecycle methods just seem to not be hit, and the browser is working, yet the javascript bindings do not happen. I have been stuck on this for a while and would appreciate some help.
The Render process does return "-1" when initializing via CefExecuteProcess, no idea why, or if it is relevant.
So I guess, how do I get the render process to run, and what is the proper location in code to do this? Why aren't any of the methods getting hit? (I tried the single process mode flag as well and it didn't help). How am I having a browser running without the RenderProcessHandler running? I feel like I'm just missing one simple flag or something... I have everything in place like all the examples and tutorials online. Thanks in advance.