.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.9.0 - What's New | Edition

Embracing .NET with Delphi

The third party market for .NET now covers almost every area a developer might need, while the Delphi component market has narrowed as vendors scale down their support or leave altogether. That leaves solid, working Win32/Win64 code with no route to the libraries being written today.

.Net Runtime Library for Delphi bridges that gap. CNClrLibrary keeps your investment in your existing native Delphi code base exactly where it is, and opens the same application to the .Net Framework Class Library and to 3rd party .Net libraries — so you extend the codebase you already have rather than replace it.

.NET Core and Cross-Platform Support

Two limitations are worth knowing before you start:

  • Windows only. The library is tied to Component Object Model (COM), which is Windows-specific, so it does not run on a cross-platform operating system such as Linux or macOS.
  • .Net Framework assemblies only. It is built on top of the .Net Framework, so it cannot load or execute .Net Core assemblies.

If you need either, dotNetCore4Delphi is the answer: the same idea built on the .Net Core Framework, so one Delphi/Pascal codebase reaches a web server backend, a Windows desktop front end and mobile alike — from the data center to touch-based devices.

What CNClrLibrary can do:

  • Access .Net Framework Class Library (such as Collections, IO, Networking, Security, Cryptography 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.

See It In Real Delphi Code

Browse clear, copy-paste-ready examples that show exactly how to call .NET classes, handle events and host the CLR with the .Net Runtime Library for Delphi.

 View Code 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 13 Florence
  • 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