Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Troubles with Delphi Chromium Embedded

I'm new to StackOverflow, and generally find the answers I'm looking for here. Except this time. I'm confuzzled. Here goes:

Some weeks back, I downloaded Revision 306 of Delphi Chromium Embedded, and installed it on a fresh copy of Delphi XE. Now, this was grabbed from the "Downloads" section of the DCEF Google Code page.

First thing I noticed was that the site mentions that Delphi XE is supported, but there is no project package included specifically for XE. Naturally, I installed the package meant for Delphi 2010, as the one for XE2 won't work due to FMX, and perhaps a few other things (?).

Having used an older build on D7 in the past, I naturally dropped a TChromium on the form, set the default URL to http://foundry-local/assist/node/, and ran the app. Here's what I was greeted with:

Exception EExternal Exception in libcef.dll ... External Exception 80000003.

Couldn't post anything in their new Google Group (they disabled the issue tracker on the Code page), so I thought I'd come here to figure out what happened. But just before that, I decided to checkout the latest code-build from the trunk. Installed it successfully (still no package for XE), dropped a TChromium on a blank form, and ran the app. This time I was greeted as follows:

Exception EReadError in module FoundryAssistNodeManager.exe at 0004BE24. Error reading Chromium1.Options.AcceleratedCompositingEnabled: Invalid property path.

And hence: I am really confuzzled.

(Edit: The app can see the core libraries, and they are being picked up.)

Has anybody else been having problems using DCEF on Delphi XE? If so, anyone had some kind of solution?

See, I'm building a customised help platform for my to-be-released products. Using IE is unreliable, and Gecko's components are no longer in development.

Any tips, guidelines would be great. Thanking you all in advance.

like image 751
Mike Rockétt Avatar asked Nov 03 '22 17:11

Mike Rockétt


1 Answers

Technically speaking, this is not an answer to my question, but I feel it is necessary to show viewers of this question the best route to take.

Quite simple really: Upgrade to DCEF3.

Some developers local to me have also reported the same problem, with no apparent fix. Using version 3 solves the problem.

To the commenters above, thank you for helping as far as you could. Much appreciated.

like image 198
Mike Rockétt Avatar answered Nov 15 '22 07:11

Mike Rockétt