Skip to content

CrystalNet-Tech2/dotNet4Delphi_Tutorials

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

.Net Runtime Library for Delphi Tutorials

The samples in this directory use .Net Runtime Library for Delphi to use .NET DLLs and .Net Framework Class Libraries in DELPHI illustrating how you can levarage the possibilities of .Net Runtime Library for Delphi in your DELPHI projects.

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

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.

License

The Apache License 2.0 applies to all saples in this repository.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Running Tutorial Projects

To run the tutorial project:

  • Clone the repository to your local machine.
  • Download latest release of .Net Runtime Library for Delphi Setup and Install: https://www.crystalnet-tech.com/RuntimeLibrary/download
  • Open the project using Embarcadero RAD Studio or Delphi XE or higher IDE versions of your choice.