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.
browser does not load
-
- Posts: 2
- Joined: Tue Jun 11, 2024 2:08 pm
browser does not load
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
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: browser does not load
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.
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.
-
- Posts: 2
- Joined: Tue Jun 11, 2024 2:08 pm
Re: browser does not load
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?
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: browser does not load
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.
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.