Recent Gecko / xulrunner / FireFox port for Delphi [closed] - delphi

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Asking a bit out of curiosity: Does anyone know about a recent port of Gecko (Firefox engine) for Delphi?
I'm currently using DCEF3 / TWebBrowser(IE) successfully and there's no need to change at the moment, but I'm curious to compare the browser performance (also feature-wise).
So far I've only found several different (or maybe related) older ports, where none turned out to be working with a recent Delphi version.
Of course I could translate the headers myself, but it won't make sense if there is anything out there that is already working.
For Lazarus there is GeckoPort version2, but it seems to be quite old already (supports Gecko 10 / Firefox 10, released in Jan '12, already 3 years ago now). Does anyone know if a backport to Delphi is possible and/or if it's easy to update this to a recent version of Gecko?
In order to be more precise on the question: I would really like to use Gecko / XULrunner, so if no proper libraries are available, what are the steps for a port? It looks like there is no typical C API available that can be used for a straight forward port (from C to Pascal).
Would it be sufficient to translate the .idl files? If so, will an automated tool (like Embarcardero's idl2pas.jar) work?
At the moment I can't get the tool to run at all, but even if I would will it be possible to translate the IDL files (most probably in XPIDL format, similar to COBRA).
It seems possible to convert the files to XPCOM Type Library (.xpt), but will this be useful for a Delphi port?

Related

Material Design in Dart [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
At the moment I can not find a somewhat up to date version of mdc for dart. I can find for example https://pub.dev/packages/mdc_web and https://github.com/dart-lang/angular_components but both are really far away from an up to date implementation of Material Design.
Is there a library apart from this I can use, so that I can use up to date material design with dart?
The two links you posted have different use cases. The former is for vanilla web dev using Dart, and probably your best bet unless you plan to use AngularDart. Even though it has not been updated in over a year, I don't think there is anything newer. You could try cloning the repo and adding support yourself for the missing or outdated components which you desire.
AngularDart is (in my opinion) a great framework. The latter link you posted is specifically for use with AngularDart. Last update it was 15 days ago. This project is maintained by Google and I think it is safe to say that Google is by far the largest user of AngularDart. Their material design components which you linked to are going to be your best bet in this case.
Generally speaking though, using Dart for web dev never achieved widespread adoption, so there are not large communities with a lot of active package maintainers.

SignalR in Delphi or C++Builder [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I need to send data in real time between Delphi/C++Builder apps placed in different PCs not connected in the same LAN, only using Internet.
My first approach was via DataSnap REST server but it is not practical due proxy and router problems. The configuration was too hard for the users plus that some people do not like to have a web server running in their machines opening the corresponding ports.
My second approach is using a server in the middle. I am checking SignalR technology that seems to fit very well. It is well solved for C# but I cannot find any information about VCL, Delphi or C++ Builder.
Is there some library or do I need to work from scratch via WebSockets?
Is there another way to communicate VCL applications that run in separated PCs only connected to Internet?
/n Software has a WebSockets library - with C++Builder support.
https://www.nsoftware.com/ipworks/ws/
Docs at https://cdn.nsoftware.com/help/IWF/bcb/
Download (there is a trial edition) at https://www.nsoftware.com/ipworks/ws/download.aspx

Where Can I Find Delphi Resources For Creating IPad Applications? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I've been using Delphi (Turbo Pascal before that) and have always been a windows guy. My wife bought me one of the new iPads for my birthday and I used it for the first time last night. Wow!... I had no idea how addicting that thing can be.
So, now I need to think about writing an app or two for this iPad. I'm guessing I need to upgrade from Delphi 2010 to Delphi XE2 and I'm looking for a good Delphi resource on development and distribution of iPad apps.
If you want to go the Delphi way you have to upgrade to XE2.
Google for (FireMonkey iOS).
Some resources:
http://blogs.embarcadero.com/ao/2011/10/26/39188
http://www.embarcadero.com/coderage/sessions
http://www.andreanolanusse.com
http://www.felix-colibri.com/papers/firemonkey/firemonkey.html
Bob Swart has a course manual called 'Delphi XE2 native iPhone/iPad Development'. It is not free, I have no stocks in it, but I can recommend it.
Check out:
http://op4js.optimalesystemer.no/
and
http://www.unigui.com
I think to compile a program for an iPad, you either need Delphi Prism, which creates a .NET application that could be run in Mono, a cross platform .NET framework.
Or, if you want to write native code, I think you will need a MacBook to compile the last step and publish it to your iPad. I think there is no compiler included with Delphi XE2, that runs in Windows and creates an executable for the iPad. The compiler for iOS (the FreePascal compiler, which is shipped with Delphi 2) needs to run on a Mac.

View VRML file with WebGL-capable browser [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have a legacy application that generates VRML 1.0 files. I'd like to build a WebGL-based web interface that can display these VRML files. Is there an easy way to do so?
Edit: Specified that they are VRML 1.0.
If you can get it to VRML 2.0 (VRML '97) using a tool like the above-referenced one from Parallelgraphics, you can use the Fraunhofer Institute's tools (see discussion and links to InstantReality at http://www.x3dom.org/?page_id=532) to go from VRML 2 to either X3DOM or X3D. With Firefox or Chrome and a current graphics card and driver, you've got the WebGL support needed to run X3DOM. X3DOM handles only a subset of X3D, but can be referenced straight from XHTML and CSS, or plug-ins required. It's at a much higher level and easier to deal with than dealing directly with WebGL.
As I understand it, X3D is a development from VRML, and there's a WebGL-based renderer for it called X3DOM. Converting over is unlikely to be zero-effort, but it might be easier than trying to make the jump all the way to a "native" WebGL format.
VRML can be pretty complex with lots of interactivity and it doesn't look like a ont-to-one converter is available. However, here is what you could try:
Convert your VRML file to a standard OBJ file using something like MeshConv
Import the converted file in CopperLicht (Free) or CopperCube (Not free)
You will then have some kind of conversion of your VRML file which you can fine-tune.

PC-SC Wrapper or Omnikey Sync API sample for Delphi2009 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
The PC-SC component by nobbi.com doesn't seem to be Delphi 2009 compliant. I had to convert PChars to PAnsiChars but I still couldn't access ReaderList properly, all I could get was bunch of "|"s. So, is there any PC-SC wrapper for Delphi 2009, or a sample application of Omnikey's Sync API for Delphi? C# samples for Sync API are fine aswell, as I can use them as DLL under Delphi.
The device I'll be using is Omnikey 5321, mainly for MIFARE purposes.
That is the only framework I am aware of for Delphi. I have been keeping any eye out since as far back as 2001 and have not seen anything better.
I did some commercial SC development for the financial sector and ended up rolling my own framework for Delphi 5/7. I had the requirement to monitor card change events (insert/remove) and end up using a background thread. The solution was robust and worked very well.
The porting to D2009 should not be that difficult since the API is relatively small. Watch out for structure alignment and of course Unicode. As I recall the structure alignment required some fudging to get right (i.e. padding bytes were needed).
Best of luck!
David

Resources