Win2k with the .NET Framework Beta2 installed.
Here are some things to note before running the sample:
1. The sample uses the header file mscoree.h which is located typically in the
C:\PROGRAM FILES\MICROSOFT.NET\FRAMEWORKSDK\INCLUDE directory,
and so I chose to add that in my list of Include Paths through Tools-Options in Visual Studio.
2. It uses the MsCorLib.Tlb which provided Interface definitions used within the program,,
which is located typically in the path
C:\WINNT\Microsoft.NET\Framework\v1.0.2914\ for beta2 versions of the CLR.
I have hardcoded the path in th source, you may chose to include it in some global path.
CONSOLE APPLICATION : SimpleCLRHost
AppWizard has created this SimpleCLRHost application for you.
This file contains a summary of what you will find in each of the files that
make up your SimpleCLRHost application.
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
This is the main application source file.
Other standard files:
These files are used to build a precompiled header (PCH) file
named SimpleCLRHost.pch and a precompiled types file named StdAfx.obj.
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
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.