This section describes the sample programs available with the OS/2 Warp Toolkit.

The sample programs are categorized as follows:

Most sample programs are written in C language and demonstrate the use of the functions of the control program (CP, base OS/2 operating system), the PM interface, the multimedia (MM) interface, and the Workplace Shell (WPS).

Each sample program serves as a template that can be easily modified for your own purposes. These programs let you investigate the best way to implement your own application requirements.

Some of the sample programs require specific hardware devices. When appropriate, the hardware is listed following the program descriptions. Without these devices, you can still compile and run the sample programs; however, you might not receive the full effect of the program. For example, if a multimedia sample program has audio, you will not hear it unless you have an audio adapter supported by OS/2 multimedia and speakers installed.

Most samples also contain the overhead routines necessary to create a PM application, as well as stubs for the basic menu items that all applications should have.

There are many comments within the source code that clarify technical information.

Note: Names of the sample programs, in most cases, correspond to their Toolkit subdirectory names.


[Back] [Next]