CEF3 can only be initialized once per process and that can be a problem if you develop plugins or DLLs for other applications that already use CEF3.
CEF4Delphi initializes CEF3 in the GlobalCEFApp.StartMainProcess function.
If the host application is already using CEF3 then you can show the web contents from a different process following these steps :
- Create a standalone application that shows the web contents. Let's call this application "CefBrowser" and use GlobalCEFApp.StartMainProcess normally because this application will be in a different process.
- Create the Extension-DLL but it will only execute "CefBrowser" using ShellExecute or ShellExecuteEx.
If you decide to use websockets you can try TCEFServerComponent. Take a look at the SimpleServer demo.