But when I disable madExcept dfor that Project, there is no AV, all works fine. The moment I enable madExcept, I again get the AV on exit.
I did not get any issue with Delphi 10.x, only with 11.x and the updated madExcept.
This is a sample code:
Code: Select all
uses
madExcept,
madLinkDisAsm,
madListHardware,
madListProcesses,
madListModules,
Winapi.Windows,
Vcl.Forms,
uCEFApplication,
Unit1 in 'Unit1.pas' {Form1};
{$R *.res}
begin
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.FrameworkDirPath := '.\cef';
GlobalCEFApp.ResourcesDirPath := '.\cef';
GlobalCEFApp.LocalesDirPath := '.\cef\locales';
GlobalCEFApp.EnableGPU := True; // Enable hardware acceleration
GlobalCEFApp.cache := '.\cef\cache';
GlobalCEFApp.UserDataPath := '.\cef\User Data';
if GlobalCEFApp.StartMainProcess then
begin
// Application.Initialize;
// Application.MainFormOnTaskbar := True;
// Application.CreateForm(TForm1, Form1);
// Application.Run;
end;
GlobalCEFApp.Free; // <= crash with AV, but only when madExcept is enabled
end.