The PROTMODE Statement

The PROTMODE statement specifies that the application or DLL runs only under Windows 3.0 standard mode and 386 enhanced mode. PROTMODE lets the linker optimize to reduce both the size of the file on disk and its loading time. Use PROTMODE in combination with an EXETYPE WINDOWS statement to define an application or DLL that runs only under protected-mode Windows.

If you do not specify PROTMODE, the application or DLL can run in any Windows mode.

Summary: Syntax

PROTMODE

Summary: Example

The following statement combination defines an application that runs only under protected-mode (standard or 386 enhanced) Windows version 3.0:

EXETYPE WINDOWS 3.0

PROTMODE