khrona/awesomium-wiki — pull request #2 by trofian (2014-02-15 08:54:14+00:00)
Title: Update tutorial-3-hooking-up-events.md

You’ll need to create your Global Object before loading content into your WebView that references the object.

All calls for creating the object and setting its properties should be made before calling WebView::LoadURL. WebView::CreateGlobalJavaScriptObject is a synchronous API call and is guaranteed to be completed once the method call returns.