Subsystem Libraries

The exception handling functions (throw, try and catch), the C Structured Exception Handling (SEH) functions (try, except, continue, and finally), and the C++ runtime functions (new and delete) and are all available for subsystem development. However, none of the Open Classes are available.

There are three groups of functions that you can use in a subsystem:

  1. The subsystem library functions. These functions are available whether or not you have optimization turned on (/O+).
  2. Built-in instrinsic functions.. These functions are also available whether or not you have optimization turned on.
  3. Other intrinsic functions. These functions are only available for use in a subsystem if optimization is turned on, as the compiler will build them inline.

Libraries specifically for subsystem development

Operating System Library Name Linking Description
CPPRNS36.LIB Static Subsystem static library
CPPRNI36.DLL Dynamic Subsystem C runtime library
CPPRNO36.LIB Dynamic Subsystem object library, for functions that are always linked (e.g. startup code). Use to create your own subsystem runtime.
CPPRNI36.DLL Dynamic Subsystem import library; contains only symbols that are exported from the DLL.


Choose Run-Time Libraries


Summary of Subsystem Library Functions