Create BrowserProcessResponse to represent the response from the WCF calls

This commit is contained in:
amaitland
2014-09-02 11:05:31 +10:00
parent 3e5a3ae0cb
commit f6d6b0fe4e
6 changed files with 48 additions and 19 deletions
@@ -24,9 +24,7 @@ namespace CefSharp
{
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
Object^ result;
String^ exception;
auto success = browserProxy->CallMethod(_ownerId, _javascriptMethod->JavascriptName, parameters, result, exception);
return result;
auto response = browserProxy->CallMethod(_ownerId, _javascriptMethod->JavascriptName, parameters);
return response->Result;
}
}