Hello Guys:
I have written an activeX dll in Delphi and I want to run in in firefox. How can I do that?
Is there anyway that I can make an .xpt directly form this dll or not?
I'm afraid there is no way to just make an .xpi directly from the DLL. An ActiveX control needs an ActiveX host which Firefox is not, by default. It seems it can be, however, with an installed plugin.
A quick Google search for "firefox activex" reveals:
ff-activex-host
Neptune
Mozilla ActiveX Project (seems abandoned but there's reference and source code for Firefox 1.x)
Related
I need a fast and reliable HTML5 Browser component. For my needs TWebBrowser is too slow. I came across Chromium embedded but the components I found (DCEF3, DCEF4) are relying on Windows units. Also, there are no libraries for OSX32 as chromium is only available on 64 Bit for Mac.
Is there an alternative approach for native HTML5 for FMX on Windows, Linux and OSX?
Background: I use Delphi, FMX and FMXLinux to create a cross platform application on Windows, OSX and Linux and would like to embed and deploy Chromium together with TMS Webcore to offer a fat client and web access simultaneously without having to develop complicated forms twice (FMX and Web).
Michael
There is a version of DCEF maded by Salvador DF that can be compiled in Firemonkey at: https://github.com/salvadordf/CEF4Delphi.
It is a library for Delphi that i have tested on Windows 32&64Bit with good results.
I need to try it on fmxLinux using the binaries that you can find at: http://opensource.spotify.com/cefbuilds/index.html
But i think there is some work to do.
I´m struggling with what is the best design for an ActiveX control in regards to its registration and reference.
One part of our software is based on ActiveX controls that are used on Internet Explorer and referenced by its GUID, and ActiveX control will make the connection to the server and will get the data (Live Images) from it.
The problem that I´m facing is that everytime that we update the server version we have to change the version of the ActiveX controls because there are usually new codes for client, so, the ActiveX of version 6.3 for example will not connect to a 6.4 server and must be updated
The thing is that, what is the best design to have different versions of the same ActiveX registered on the machine? Should I change the GUID of the ActiveX every new version???
I have searched a lot for this and couldn´t find anything satisfactory, and I can´t use the Registration-free COM because the ActiveX control is meant to be used inside Internet Explorer
I think pbear's component HTML Components, v 9.45, is just what I need. His free download only has packages for Delphi 2006 and earlier. I have Delphi XE. How would I install his components into my Delphi?
Try this Google code download site THtmlViewer.
Seems to be updated to XE2 version plus Lazarus.
See also this answer to SO question How to display an email images on Pbear Html viewer component?.
Have you considered using Delphi Chromium Embedded? This is the Delphi API for Google's Chromium, which is used by the Google Chrome web browser. Several Delphi versions are supported, including XE and XE2.
Unless you only need rudimentary browser support, it makes sense to use an up-to-date browser with solid support for modern web standards.
The repository includes Delphi sample projects for VCL and FireMonkey.
I am coding an add-on using an existing SDK which has no webview-like component but allows for ActiveX controls.
So the only idea I come up with is find an ActiveX control implementing a web browser or at least show a web browser.
Is there such control?
Don't use the IE activex control, it's full of memory leaks.
See this post for alternatives:
Replacing .NET WebBrowser control with a better browser, like Chrome?
FireBreath has a WebView library that uses the IE activex control to embed a web browser inside a FireBreath plugin (which acts as an ActiveX Control on IE). You should be able to adapt it, assuming you're using C++.
Finally find it.
SHDocVw.WebBrowser will do.
Usually the path is C:\Windows\System32\shdocvw.dll
Is there a synedit package that works with firemonkey (or someone working on it) ?
From what I can gather there was a VGScene port earlier (see: this site), but it seems to been removed.
Also see this site:
There most likely is not (at the moment):
From the homepage:
It is a pure-VCL/CLX control, meaning it is not a wrapper for Microsoft Windows
controls and so no run-time library is required.
CLX or Component Library for Cross Platform is the cross-platform equivalent of the VCL - Borland's widget library.
From Nakeymonkey - native controls for firemonkey
With the VCL, Borland never had to worry about all of this because they just wrote a wrapper around the Windows API Rich Edit control. So why didn’t Embarcadero do the same thing with Firemonkey? Because Firemonkey also needs to compile for OS X and the Windows API Rich Edit control doesn’t exist there.
Links:
Embarcadero Delphi
Qt.pas pascal bindings for QT