Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.
I've never tried to put all CEF4Delphi code inside a DLL but I can suggest you this :
CEF4Delphi can only be initialized and finalized outside the DLL's initialization and finalization sections. Create a couple of custom functions to initialize and finalize CEF4Delphi manually.
CEF3 can only be initialized once per process. This means that you can only call CEF4Delphi.StartMainProcess once.
You must use a different EXE for the subprocesses.