Page 1 of 1

Re: Access Violation

Posted: Fri Jun 14, 2019 6:21 am
by salvadordf
Hi,

You can create and destroy many TChromium components while the application is running but GlobalCEFApp can only be destroyed after you have closed all your forms, preferably in the last code lines inside the DPR file.

Re: Access Violation

Posted: Tue Jun 25, 2019 10:36 am
by salvadordf
Perhaps some destruction step is missing or incomplete.

Do you have the same error when you run the SubProcess demo ?
That demo uses a TChromiumWindow component and a different EXE for the subprocesses, like your application.

If you still have problems consider using a TChromium and a TCEFWindowParent as shown in the SimpleBrowser2 demo.

TChromiumWindow works fine but the TChromium + TCEFWindowParent combination follows the CEF destruction events to the letter.