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.

browser does not load

Post Reply
JONAS.BOLLIS
Posts: 2
Joined: Tue Jun 11, 2024 2:08 pm

browser does not load

Post 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
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: browser does not load

Post 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.
JONAS.BOLLIS
Posts: 2
Joined: Tue Jun 11, 2024 2:08 pm

Re: browser does not load

Post 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?
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: browser does not load

Post 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.
Post Reply