.Net Runtime Library for Delphi

The .Net Runtime Library for Delphi (CNClrLibrary) is the best library to work with .Net framework and .Net libraries from Delphi. It is designed to provide a way to interact with applications written in anyone of the .Net languages (such as C#, Visual Basic.Net, Delphi.Net, JScript.Net, etc) from Delphi.

Free Trial

 Latest: 6.0.8.1 - What's New | Edition

runtimeLibrary4Delphi

Embracing .NET with Delphi

Ever since it was originally announced, the Delphi community has had a love/hate relationship with .NET. Being spoiled by the richness in RAD development they had been enjoying for years, the community was quick to dismiss .NET as something that might bring benefits to MFC or Visual Basic developers, but would bring little benefit over Delphi and its powerful VCL class library and RAD form designers. Three significant releases later, it has now become obvious that these assumptions were wrong. Third party markets for .NET have developed strongly, with a vast range of professional components being available in all imaginable areas – while at the same time the Delphi component market seems to be winding down, as many third party vendors scale down their support in favor of .NET or are leaving the market altogether.

It is for this reason that the .Net Runtime Library for Delphi was introduced which will bridge the gap between the .Net and Delphi development. It solves the problem faced by developers who wants to preserve their existing investment in solid, working Win32/Win64 code written in Delphi, but at the same time enable them to extend that codebase, using new .NET-based technologies. CNClrLibrary enables the developer to keep your investment in your existing native Delphi code base, while at the same time opening your applications to .Net Framework Class Libraries or 3rd party libraries.

.NET Core and Cross-Platform Support

There are two known limitations of the .Net Runtime Library for Delphi. The first limitation is; it DOES NOT support cross-platform Operation System such as Linux and macOS. The .Net Runtime Library for Delphi can only run on the Windows platform because it is somehow tired to Component Object Model(COM) technology and this technology is window specific which makes it difficult for the .Net Runtime Library for Delphi to run on cross-platform. The second limitation is; the product CANNOT load and execute any .Net Core assemblies because it is built on top of the .Net Framework and so it can only load and execute assemblies written to target the .Net Framework.

Today, it's common to have an application that runs across devices; a backend on the web server, admin front-end on windows desktop, web, and mobile apps for consumers. So, there is a need for a single framework for Delphi/Pascal that works everywhere, hence the release of another product called dotNetCore4Delphi which is built on top of the .Net Core Framework. The main objective of dotNetCore4Delphi is to make .NET for Delphi a cross-platform compatible that can be used in a wide variety of verticals, from the data center to touch-based devices.

What CNClrLibrary can do:

  • Access .Net Framework Class Library (such as Collections, IO, Networking, Security, Cryptogrphy etc).
  • Access 3rd Party .Net Libraries.
  • Hosts the .Net Common Language Runtime (CLR) in Delphi.
  • Can load and access assemblies/types from 3rd party .Net libraries or executable files.
  • Can load and access .Net assemblies/types from Global Assembly Cache (GAC)
  • Can invoke members of a .Net types (such as constructor, fields, properties, methods and events).
  • Can create instance of .Net object.
  • Can handle .Net exceptions.
  • Can handle, access and invoke .Net events.
  • Can host .Net controls in Delphi VCL Forms.
  • ...and many more.

Competitive Advantages

  • Full access to .Net Framework Class Library (Including new and emerging .NET technologies).
  • No extra dll is required when deployed.
  • No COM registration of .Net Libraries is required when deployed.
  • There are tools to generate your .Net Libraries into Delphi pas files.
  • Allows Delphi to consume .Net libraries as if they were native code.
  • Easy to use.

SOURCE CODE EXAMPLE

Click button below to view source code examples on the usage of the .Net Runtime Library for Delphi.

 View Examples

Feature Matrix

Delphi and .NET are different platforms. Each has unique features that the other does not. Support exists for most .NET functionality, however some limitations exist.

Supported

Supported Platforms

Delphi

IDE Compatibility

Delphi
  • Embarcadero Delphi 12 Athens
  • Embarcadero Delphi 11 Alexandria
  • Embarcadero Delphi 10.4 Sydney
  • Embarcadero Delphi 10.3 Rio
  • Embarcadero Delphi 10.2 Tokyo
  • Embarcadero Delphi 10.1 Berlin
  • Embarcadero Delphi 10.0 Seattle
  • Embarcadero Delphi XE8
  • Embarcadero Delphi XE7
  • Embarcadero Delphi XE6
  • Embarcadero Delphi XE5
  • Embarcadero Delphi XE4
  • Embarcadero Delphi XE3
  • Embarcadero Delphi XE2
  • Embarcadero Delphi XE

.NET

Supported .NET Framework

.NET
  • Support for .NET Framework 4.8
  • Support for .NET Framework 4.7
  • Support for .NET Framework 4.6
  • Support for .NET Framework 4.5
  • Support for .NET Core 1.0
  • Support for .NET Core 2.0
  • Support for .NET Standard 1.0
  • Support for .NET Standard 2.0

OS

Supported Platforms

OS
  • Windows OS 32-bit.
  • Windows OS 64-bit

Included Demos

These demos are installed with the product. Download the FREE trial to get started.

Download Free Trial


30-Day Fully-Functional Free Trial

Get started today and see why developers worldwide
choose CrystalNet .Net Runtime Library for Delphi.

 Download

Order Online


Starting at $299.95

.Net Runtime Library for Delphi provides a cost-effective solution for developers to access .Net assemblies from Delphi.

 Order