Delphi

CrystalNet .Net Runtime Library for Delphi v6.0.7.5

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#,...

Description

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.

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.

Additional Information