Comments (11)
Just an FYI, this project is called DELPHI Chromium Embedded, not C++ Builder
Chromium Embedded
Original comment by [email protected]
on 27 Oct 2010 at 10:39
from delphichromiumembedded.
I know , There is a C++ builder chromium Embedded project?
Original comment by [email protected]
on 27 Oct 2010 at 10:44
from delphichromiumembedded.
c++ is not officialy suported
Original comment by [email protected]
on 29 Oct 2010 at 11:33
- Changed state: Invalid
from delphichromiumembedded.
[deleted comment]
from delphichromiumembedded.
Well, although it´s unsupported, it´s easy to get TChromium on C++ Builder XE
(2011).
Just comment constructors prototypes and implementations for CreateNull and
CreateArray at libcef.pas and install.
It works fine with dCEF-r158 but, no support at all! You should mantain it in
further versions.
Original comment by [email protected]
on 27 Jan 2011 at 3:05
from delphichromiumembedded.
Original comment by [email protected]
on 2 Feb 2011 at 11:35
- Changed state: Accepted
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from delphichromiumembedded.
Hello, I work with Renato (from comment 5) and I´d like to contribute with
this issue too.
Besides the changes my colleague pointed we had to make another one:
We moved the declarations of some function pointers to the global "var" area,
located before "implementation". The range of function pointers moved is from
"cef_browser_create" to "cef_zip_reader_create".
The purpose was to make these variables available on the C++ generated headers
(hpp), as we needed access to function "cef_stream_reader_create_for_file".
Besides that, we got another problem that seems to be a designer time defect
(I´ll generate an issue at embarcadero).
I´ll write it here to help future C++ Builder developers:
When you have an event that receives a delphi "out" parameter, such as
TCefRetval, the hpp is generated in C++ with a reference variable correctly.
However, in design time, when we implement the event with "Object Inspector",
it appears without the & modificator (C++ reference).
Example:
void __fastcall Chromium1AfterCreated(TCustomChromium *Sender,
ICefBrowser *browser, TCefRetval Result);//<-This should be TCefRetval &Result
The workaround is to put the & manually.
I´m sending the modified sources, but we can also contribute directly on the
SVN.
Original comment by [email protected]
on 2 Feb 2011 at 5:44
Attachments:
from delphichromiumembedded.
All I had to do get this to compile and run with a simple test project was to
replace the names of some parameters called "return" to "returnString".
return is a reserved word in C++. I've included the project file in the patch
if anyone would like a pre-built C++ Builder 2007 project file. There was one
more change to PROXY_TYPE_DIRECT related to this:
http://code.google.com/p/chromiumembedded/issues/detail?id=548
Original comment by [email protected]
on 21 Jun 2012 at 9:03
Attachments:
from delphichromiumembedded.
Hi,
Just tryign to follow the ideas above to get this building in C++Builder XE,
has anyone got .cbproj file that will install from XE?
Thanks,
Original comment by [email protected]
on 23 Jul 2012 at 11:45
from delphichromiumembedded.
We did a port do Builder XE, although our version is a bit old (dCef r275) I'm
sending it.
We didn't create a .cbproj, but instead we've made changes on the .dproj to
generate C++ files. This implies we need Delphi personality to install the
component.
Besides that, we've made some changes to the code because it generated const
variables in places were there should be non const variables.
Original comment by [email protected]
on 25 Jul 2012 at 8:22
Attachments:
from delphichromiumembedded.
Hi,
I don't know if anyone has experienced this.
I tried writing an application in Borland C++ 2010 using this component.
I wrote a download handler following the example in the guiclient Delphi
example.
Everything seems to work but when a download is required, only the "Download
complete" event of the handler fires, the "Data received" event does not. As I
was under pressure to complete the application (it is not very big), I re-wrote
it in Delphi in which it works as expected.
I would like to help resolve this phenomenon. What do I need to post to help?
Thanks,
Daniel
Original comment by [email protected]
on 18 Aug 2012 at 4:41
from delphichromiumembedded.
Related Issues (20)
- access violation in module guiclient HOT 1
- Chromium.Browser.MainFrame.Url always = '' HOT 1
- TChromium+alClient does not resize if form is wsMaximized HOT 1
- TForm.OnCreate and DefaultUrl and global vars changing issue HOT 1
- [deleted issue]
- JS performance issue HOT 4
- TzSpecificLocalTimeToSystemTime is not supported by Windows 2000 HOT 1
- GuiClient Crash on lazarus HOT 1
- Application crash on initialization (cef r365) HOT 6
- bug in TCustomChromium.doOnContentsSizeChange HOT 4
- Creating TChromiumFMX at run-time
- Access violation in TCefPostDataRef.GetElements(Count: Cardinal) HOT 4
- TCefRTTIExtension.Register() adds unwanted Delphi native methods to *ALL* JavaScript variables inside the chromium embedded environment. HOT 3
- Drag the scrollbar of TChromium will make the computer beeps HOT 2
- Problem build firemonkey demo to OSX plataform HOT 3
- render_handler_on_paint bug HOT 1
- TCustomChromiumFMX.doOnPaint AccessViolation
- External Exception 80000003 thrown from libcef.dll HOT 7
- problems with VCL message dispatching again HOT 4
- guiclient CPU fault "push $01" within CefRegisterSchemeHandlerFactory upon main unit initialization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from delphichromiumembedded.