Click here to Skip to main content
15,884,099 members
Articles / Desktop Programming / ATL

Creating a host application for the .NET Common Language Runtime.

Rate me:
Please Sign up or sign in to vote.
4.64/5 (16 votes)
22 Oct 20017 min read 192.1K   1.9K   60  
This article explains how easy it is to write custom host applications for the .NET Common Language Runtime to run managed code.
using System;
using System.Reflection;
using System.Windows.Forms;

namespace Ranjeet.SimpleCLRHost
{
	public class HelloHostDemo
	{
		public void Hi() 
		{
		MessageBox.Show("YOO HOO from the Managed World!", "And now for this message");
		}
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
I am originally from Mumbai, India, Currently living in Los Angeles doing Software Development. If there is something I miss here in LA, its the crazy Mumbai monsoon and delicious "wadapavs".
Apart from spending time writing software, I spend most of my time with XBox riding the Warthog and killing covenants in Halo.

Comments and Discussions