Hello World Sample

Sample Overview

The simplest of samples: Hello World.

Sample Source and Build Output Locations

The sample source is found in sscli\samples\hello. 

The source file is:

The build output location is %TARGETCOMPLUS%\samples\hello.  The output file is an executable assembly named hello.exe.

Building the Sample

All samples are built from the buildall script. 

You can also build all the samples by switching to the root of the sample directory, sscli\samples, and typing build -c.

You can build this specific sample by switching to the sample directory and typing build -c.

Running the Sample

These steps require that the Shared Source CLI (SSCLI) be already built and functional.

  1. Run env.bat or source the env.csh or env.sh script files depending on your platform.
  2. Switch to the %TARGETCOMPLUS%\samples\helllo directory.
  3. Type the following command:

    clix hello.exe


Copyright (c) 2002 Microsoft Corporation. All rights reserved.