You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
New function OutputDebugMessage in TCEFApplication to log messages replacing OutputDebugString
This commit is contained in:
@ -530,11 +530,8 @@ begin
|
||||
if (GlobalCEFApp <> nil) then Result := GlobalCEFApp.MultiThreadedMessageLoop;
|
||||
except
|
||||
on e : exception do
|
||||
begin
|
||||
{$IFDEF DEBUG}
|
||||
OutputDebugString(PWideChar('TVCLClientHandler.GetMultithreadApp error: ' + e.Message + chr(0)));
|
||||
{$ENDIF}
|
||||
end;
|
||||
if (GlobalCEFApp <> nil) then
|
||||
GlobalCEFApp.OutputDebugMessage('TVCLClientHandler.GetMultithreadApp error: ' + e.Message);
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -546,11 +543,8 @@ begin
|
||||
if (GlobalCEFApp <> nil) then Result := GlobalCEFApp.ExternalMessagePump;
|
||||
except
|
||||
on e : exception do
|
||||
begin
|
||||
{$IFDEF DEBUG}
|
||||
OutputDebugString(PWideChar('TVCLClientHandler.GetExternalMessagePump error: ' + e.Message + chr(0)));
|
||||
{$ENDIF}
|
||||
end;
|
||||
if (GlobalCEFApp <> nil) then
|
||||
GlobalCEFApp.OutputDebugMessage('TVCLClientHandler.GetExternalMessagePump error: ' + e.Message);
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Reference in New Issue
Block a user