Can't open more than one instance of app on CEF 120.1.8
Posted: Fri Dec 22, 2023 5:52 pm
Recently i upgraded to CE4Delphi 120.1.8.
Now i can't open more than one instance of my app anymore, the second instance will crash.
I tested with Simplebrowser demo , this is how to reproduce :
1 - Open Delphi, load SimpleBrowser demo. Compile and run it, it will run ok.
2 - Now, copy simplebrowser.exe to simplebrowser2.exe and run simplebrowser2.exe outside Delphi, it will run ok.
3 - Now repeat step 1 : on the line 'GlobalCEFApp.StartMainProcess', an AV is generated and the app crashes :
"Project SimpleBrowser.exe raised exception class $C0000005 with message 'access violation at 0x00000000: access of address 0x00000000'."
This problem did not happen on previous CEF / DCEF versions.
Any ideas about how to fix it ?
Now i can't open more than one instance of my app anymore, the second instance will crash.
I tested with Simplebrowser demo , this is how to reproduce :
1 - Open Delphi, load SimpleBrowser demo. Compile and run it, it will run ok.
2 - Now, copy simplebrowser.exe to simplebrowser2.exe and run simplebrowser2.exe outside Delphi, it will run ok.
3 - Now repeat step 1 : on the line 'GlobalCEFApp.StartMainProcess', an AV is generated and the app crashes :
"Project SimpleBrowser.exe raised exception class $C0000005 with message 'access violation at 0x00000000: access of address 0x00000000'."
This problem did not happen on previous CEF / DCEF versions.
Any ideas about how to fix it ?