You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-11-23 21:34:53 +02:00
Update to CEF 95.7.12
Fix for Windows shutdown issue thanks to petko
This commit is contained in:
@@ -66,7 +66,7 @@ uses
|
||||
const
|
||||
CEF_SUPPORTED_VERSION_MAJOR = 95;
|
||||
CEF_SUPPORTED_VERSION_MINOR = 7;
|
||||
CEF_SUPPORTED_VERSION_RELEASE = 10;
|
||||
CEF_SUPPORTED_VERSION_RELEASE = 12;
|
||||
CEF_SUPPORTED_VERSION_BUILD = 0;
|
||||
|
||||
CEF_CHROMEELF_VERSION_MAJOR = 95;
|
||||
@@ -774,7 +774,13 @@ begin
|
||||
FLastErrorMessage := '';
|
||||
{$IFDEF MSWINDOWS}
|
||||
if (FProcessType = ptBrowser) then
|
||||
GetDLLVersion(ChromeElfPath, FChromeVersionInfo);
|
||||
GetDLLVersion(ChromeElfPath, FChromeVersionInfo)
|
||||
else
|
||||
// Subprocesses will be the last to be notified about the Windows shutdown.
|
||||
// The main browser process will receive WM_QUERYENDSESSION before the subprocesses
|
||||
// and that allows to close the application in the right order.
|
||||
// See the MiniBrowser demo for all the details.
|
||||
SetProcessShutdownParameters($100, SHUTDOWN_NORETRY);
|
||||
{$ENDIF}
|
||||
|
||||
// Internal filelds
|
||||
|
||||
@@ -164,6 +164,8 @@ function PathIsUNCAnsi(pszPath: LPCSTR): BOOL; stdcall; external SHLWAPIDLL name
|
||||
function PathIsUNCUnicode(pszPath: LPCWSTR): BOOL; stdcall; external SHLWAPIDLL name 'PathIsUNCW';
|
||||
function PathIsURLAnsi(pszPath: LPCSTR): BOOL; stdcall; external SHLWAPIDLL name 'PathIsURLA';
|
||||
function PathIsURLUnicode(pszPath: LPCWSTR): BOOL; stdcall; external SHLWAPIDLL name 'PathIsURLW';
|
||||
function ShutdownBlockReasonCreate(hWnd: HWND; Reason: LPCWSTR): Bool; stdcall; external User32DLL;
|
||||
function ShutdownBlockReasonDestroy(hWnd: HWND): Bool; stdcall; external User32DLL;
|
||||
|
||||
{$IFNDEF DELPHI12_UP}
|
||||
const
|
||||
|
||||
Reference in New Issue
Block a user