PIGUI Hello Sample

Sample Overview

This sample demonstrates a very simple program that uses the Tk wrapper classes. 

This sample requires that Tcl/Tk be installed on your computer in order to function.  The sample references the sharedsourcecli.tk.dll wrapper assembly to draw a dialog box with a single button.

Sample Source and Build Output Locations

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

The source file is:

The build output location is %TARGETCOMPLUS%\samples\pigui\hello.  The output file is an executable assembly named pighello.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\pigui directory.
  3. Type the following command:

    clix pighello.exe


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