Error creating new context
Posted: Mon Dec 09, 2019 11:27 am
Hi Guys, in previous version I used this code to create a new context:
TempContext: ICefRequestContext;
..
..
..
TempContext := TCefRequestContextRef.New('', '', false, false, false, false);
Well, today I updated to the new version and when i compile my project the following error occurs in TCefRequestContextRef.New:
"There is no overloaded version of 'New' that can be called with these arguments"
Some idea how to fix it?
Another error is occurring on my extension:
class procedure TTestExtension.sendresulttobrowser(const msgtext, msgname : string);
var
msg: ICefProcessMessage;
begin
msg := TCefProcessMessageRef.New(msgname);
msg.ArgumentList.SetString(0, msgtext);
TCefv8ContextRef.Current.Browser.SendProcessMessage(PID_BROWSER, msg);
end;
Error: Undeclared identifier: "SendProcessMessage"
why this error is occurring in this new version?
Thanks
Alexandre
TempContext: ICefRequestContext;
..
..
..
TempContext := TCefRequestContextRef.New('', '', false, false, false, false);
Well, today I updated to the new version and when i compile my project the following error occurs in TCefRequestContextRef.New:
"There is no overloaded version of 'New' that can be called with these arguments"
Some idea how to fix it?
Another error is occurring on my extension:
class procedure TTestExtension.sendresulttobrowser(const msgtext, msgname : string);
var
msg: ICefProcessMessage;
begin
msg := TCefProcessMessageRef.New(msgname);
msg.ArgumentList.SetString(0, msgtext);
TCefv8ContextRef.Current.Browser.SendProcessMessage(PID_BROWSER, msg);
end;
Error: Undeclared identifier: "SendProcessMessage"
why this error is occurring in this new version?
Thanks
Alexandre