Error on StartMainProcess
Posted: Wed Feb 23, 2022 1:29 pm
Hello,
I just updated my component on RAD 10.3 to the new cef 4 delphi's version 98.2 but I'm obtaining an error on GlobalCEFApp.StartMainProcess:
Debugger Exception Notification
Project IntegradorNew.exe raised exception class $C000001D with message 'system exception (code 0xc000001d) at 0x53ddd98a'.
And this is my code on dpr file:
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.FrameworkDirPath := 'cef';
GlobalCEFApp.ResourcesDirPath := 'cef';
GlobalCEFApp.LocalesDirPath := 'cef\locales';
GlobalCEFApp.cache := 'cef\cache';
GlobalCEFApp.UserDataPath := 'cef\User Data';
GlobalCEFApp.LogFile := 'debug.log';
If GlobalCEFApp.StartMainProcess then
Begin
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TFrmMenu, FrmMenu);
Application.CreateForm(TDM, DM);
Application.CreateForm(TDmWeb, DmWeb);
Application.Run;
End;
GlobalCEFApp := nil;
GlobalCEFApp.Free;
I have already updated the binaries files also !
PS.: My project was develop under the 90.5 cef4delphi's version, I don't know if it makes any difference.
Thanks,
I just updated my component on RAD 10.3 to the new cef 4 delphi's version 98.2 but I'm obtaining an error on GlobalCEFApp.StartMainProcess:
Debugger Exception Notification
Project IntegradorNew.exe raised exception class $C000001D with message 'system exception (code 0xc000001d) at 0x53ddd98a'.
And this is my code on dpr file:
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.FrameworkDirPath := 'cef';
GlobalCEFApp.ResourcesDirPath := 'cef';
GlobalCEFApp.LocalesDirPath := 'cef\locales';
GlobalCEFApp.cache := 'cef\cache';
GlobalCEFApp.UserDataPath := 'cef\User Data';
GlobalCEFApp.LogFile := 'debug.log';
If GlobalCEFApp.StartMainProcess then
Begin
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TFrmMenu, FrmMenu);
Application.CreateForm(TDM, DM);
Application.CreateForm(TDmWeb, DmWeb);
Application.Run;
End;
GlobalCEFApp := nil;
GlobalCEFApp.Free;
I have already updated the binaries files also !
PS.: My project was develop under the 90.5 cef4delphi's version, I don't know if it makes any difference.
Thanks,