Page 1 of 1
browser does not load
Posted: Tue Jun 11, 2024 2:10 pm
by JONAS.BOLLIS
Greetings, I have a problem, I configured the project, but it runs normally only in debug, in realese the screen flashes and the browser does not load
Re: browser does not load
Posted: Tue Jun 11, 2024 3:50 pm
by salvadordf
Hi,
Check that you use the right files from the CEF binaries package. Copy the contents of the Release and Resources directories.
Try the SimpleBrowser2 demo and use its code as a template for your application in case it's VCL.
Re: browser does not load
Posted: Tue Jun 11, 2024 4:07 pm
by JONAS.BOLLIS
Yes, I've already done the procedure, explaining it better, I even made a test application and everything works, debugging or not, but in my application who do I want to add, when it's debugging it works, however, in production getting everything from the same library mast the component is blinking, it cannot load when calling the crete browser (only in production - I believe it should apply simpleprocess), however by changing simpleprocess to false it cannot execute, is there any way to apply simple process not in completion?
Re: browser does not load
Posted: Tue Jun 11, 2024 4:19 pm
by salvadordf
Without a code sample I can only guess what's the problem.
If the application uses the "initialization" section in some unit then it might cause problems, specially with databases.
You would need to use a different executable for the CEF subprocesses. See the SubProcess demo.