Home > Back-end > Use Delphi XE10 dcef3-2623 access to web pages, slow!!!!!
Use Delphi XE10 dcef3-2623 access to web pages, slow!!!!!
Time:09-18
With Delphi XE10 installed dcef3-2623 version of Google controls, made a browser shell, simply display it own website or web page and do some data interaction, but LAN access your web site are extremely slow, the information on the net, only said set DCEF CefSingleProcess:=True can solve the problem, after the test is invalid, the great god help resolve genuflect is begged, freaked out,
CodePudding user response:
No great god know dcef this stuff
CodePudding user response:
CodePudding user response:
CodePudding user response:
To help the top, learning how to learn
CodePudding user response:
The processing of this problem, need to add the following code in the project file:
Procedure RegisterSchemes (const registrar: ICefSchemeRegistrar); The begin The registrar. AddCustomScheme (' local ', True, True, False); end;
The begin CefCache:='cache'; CefOnRegisterCustomSchemes:=RegisterSchemes; CefSingleProcess:=False; If not CefLoadLibDefault then The Exit;
CefRegisterSchemeHandlerFactory (' local ', ' ', TFileScheme);
Application. The Initialize; Application CreateForm (TForm1 Form1); Application. The Run; End.
Note: "Application. The Initialize;" Before the part