Habari Client libraries release 2015.06

Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with free open source message brokers. Tested with current message broker versions Apache ActiveMQ 5.11.1 Apollo 1.7.1 HornetQ 2.4.5.Final Open MQ 5.1.1 b02 RabbitMQ 3.5.3 Improvements in this release ♦ Temporary destination support: unit test and ActiveMQ workaround The library … Continue reading Habari Client libraries release 2015.06

Test your Delphi knowledge: Exception handling

With this code, what will happen: [code language="Delphi"] program FunWithDelphi; {$APPTYPE CONSOLE} uses Controls, SysUtils; begin try raise TMouse.Create; except on E:Exception do begin Writeln(E.Classname, ': E is Exception'); end; on E:TObject do begin Writeln(E.Classname, ': E is TObject'); end; on E:TMouse do begin Writeln(E.Classname, ': E is TMouse'); end; end; ReadLn; end. [/code] the … Continue reading Test your Delphi knowledge: Exception handling

Indy 10.6 HTTPS POST example with JSON body

The Indy (Internet Direct) TIdHTTP now creates a default SSLIOHandler when requesting an HTTPS url. This makes TIdHTTP a little easier to use "out of the box". (blog article). The code below sends a hard-coded JSON object as POST body to a secure url. Note: if you need to customize the SSLVersions used, or specify … Continue reading Indy 10.6 HTTPS POST example with JSON body

ScroogeXHTML 6.8 – fast RTF to HTML / XHTML converter

Habarisoft is pleased to announce the release of ScroogeXHTML 6.8, a fast RTF to HTML / XHTML converter library for Delphi and Free Pascal. A off-line demo version, the "Getting Started" guide (PDF) and the complete API documentation are available. An interactive on-line demo is available for ScroogeXHTML for the Java™ platform. (Please be aware … Continue reading ScroogeXHTML 6.8 – fast RTF to HTML / XHTML converter

Habari Client libraries release 2015.02

Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with free open source message brokers. Tested with current message broker versions Apache ActiveMQ 5.11.0 Apollo 1.7 HornetQ 2.4.0.Final Open MQ 5.1 b09 RabbitMQ 3.4.3 Fixes The throughput test application uses the subscribe.receipt=true connection parameter to ensure that the broker … Continue reading Habari Client libraries release 2015.02

Habari Client libraries release 2014.09

Habarisoft released new versions of Habari Client libraries for Delphi and Free Pascal application integration with free open source message brokers. Tested with current message broker versions Apache ActiveMQ 5.10.0 Apollo 1.7 HornetQ 2.4.0.Final Open MQ 5.1 b09 RabbitMQ 3.3.5 Fixes Unhandled Exceptions in WaitForReceiptFrame are re-raised to notify client code about the exception Fixed compiler … Continue reading Habari Client libraries release 2014.09

Open source REST client libraries for Delphi

delphi-oopdelphi-oop includes a REST client to consume RESTful web services using your own annotated class (similar to JAX-RS). It supports Google OAuth 2.0 authentication. The library is mostly tested with Delphi XE and hosted on Google Code at https://code.google.com/p/delphi-oop/Code example: (more examples on the project page)[sourcecode lang="delphi"] TODataNorthwindClient = class(TSvRESTClient) public [GET] [Path('/Customers')] [Consumes(MEDIA_TYPE.JSON)] function … Continue reading Open source REST client libraries for Delphi

Open source SAX parsers for Delphi and Free Pascal

SAX (Simple API for XML) provides a mechanism for reading data from an XML document that is an alternative to that provided by the Document Object Model (DOM). Where the DOM operates on the document as a whole, SAX parsers operate on each piece of the XML document sequentially. SAX is supported by several libraries … Continue reading Open source SAX parsers for Delphi and Free Pascal

ScroogeXHTML 6.7 – fast RTF to HTML / XHTML converter

Habarisoft is pleased to announce the release of ScroogeXHTML 6.7, a fast RTF to HTML / XHTML converter library for Delphi and Free Pascal. This is mainly a bug fix release. New in release 6.7 Support for mixed case RTF tokens Fixed support for output without indentation (SCROOGE_NO_INDENT option) Updated documentation Removed debug mode (replaced … Continue reading ScroogeXHTML 6.7 – fast RTF to HTML / XHTML converter

Send secure SMTP email from Delphi applications

Introduction Sending email from Windows, Android and iOS Delphi applications over public SMTP servers requires an encrypted connection. Internet Direct (Indy) configuration for SSL/TLS connections is shown in this example source code. Disclaimer This code is mostly based on code posted in the Embarcadero forum and here. Example usage procedure TFormMailDemo.ButtonSendClick(Sender: TObject); var Mail: TSSLEmail; … Continue reading Send secure SMTP email from Delphi applications