.Net Runtime Library for Delphi
Close
What's New
This article summarizes key new features and improvements in this version of the .NET Runtime Library for Delphi. This library was built on the previous version by adding many new fixes and several new features while remaining a very stable product. The new feature included are:
  • The CrystalNet Common Langauage Runtime Library implements all c# mscorlib types. These types are represented as dispatch interfaces. In the previous version only the classes without the interfaces of the mscorlib types were implemented. The library uses the interfaces in the mscorlib_tlb.pas file. This caused so many issues and to resolve them all the types in mscorlib were implemented in the Runtime Library.
  • Ability to load .Net assemblies and create instances of the .net types of objects using a new reflection class wrappers such as TClrAppDomain, TClrAssembly and TClrActivator defined in Runtime Host unit.
  • Ability to load and build Web Services as assemblies using a new class called TClrWSDL. Using reflection classes or interfaces you can create instances of the imported webservices, access it fields, properties and invoke it methods.
  • A TClrObject class which is a wrapper of the _ClrObject interface has been included in the Runtime Host unit which provides a flexible general purpose data type. The class can hold Delphi data type values in the form of OleVariant and .Net Objects. This class has properties and methods which allows a developer to access the fields, properties , methods and events of the .net object which this class holds.
  • A TClrArray class which is a wrapper of the _Array interface has been included in the Runtime Host unit which is used to store array of Delphi variant or .net objects types.
  • Type Conversion has been added to this release to help convert one type of data to another type. There are wraps and unwraps methods for each interfaces which help to convert from .net data types to CrystalNet common Language Runtime types and vice versa respectively.
  • Introduced Dynamic Linq feature in this release. This unit has interfaces which contains methods to dynamically generate LINQ queries.
  • More .Net Types have been added to the .Net Runtime Library. These types are represented as dispatched interfaces in the Delphi part of the runtime library. There are 2 classifications of these interfaces in the library. These are:

1. CNClrLib.Core.Intf which contains interfaces that represent the types defined in Microsoft Common Object Runtime Library (Mscorlib).

2. The Delphi Framework Class Library which represent all the types defined in the .Net Framework Class Library. The following table represents the classification of the Delphi Framework Class Library and their corresponding .Net Framework class library namespace.

Delphi Framework Class Library

.Net Framework Class Library

System.CodeDom Namespaces
System.Collections Namespaces
System.ComponentModel Namespaces
System.Configuration Namespaces
Microsoft.CSharp Namespaces
System.Data Namespaces
System.Deployment Namespaces
System.Device Namespace
System.Diagnostics Namespaces
System.DirectoryServices Namespaces
System.Drawing Namespaces
System.Dynamic Namespace
CNCorLibrary.CorDynamicLinq
System.EnterpriseServices Namespaces
System.IdentityModel Namespaces
System.Linq Namespaces
System.Management Namespaces
System.Media Namespace
System.Messaging Namespaces
System.Net Namespaces
System.Numerics Namespace
System.Printing Namespaces
System.Resources Namespaces
System.Runtime Namespaces
System.Security Namespaces
System.ServiceModel Namespaces
System.ServiceProcess Namespaces
System.Speech Namespaces
Microsoft.SqlServer Namespace
System Namespace
System.Text Namespaces
System.Threading Namespaces
System.Timers Namespace
System.Transactions Namespaces
Microsoft.VisualBasic Namespaces
System.Web Namespaces
Microsoft.Win32 Namespaces
System.Windows Namespaces
System.Xaml Namespaces
System.Xml Namespaces

For more information about the above .net framework class library namespaces, see .Net Framwork Class Library .

This article does not provide comprehensive information about each new feature. For general information about the Runtime Library for Delphi, see Getting Started with the .Net Runtime Library for Delphi.
For supported platforms, see System Requirements. For download links and installation, see Installtion Guide .