/NOENTRY   (No Entry Point)

OverviewHow Do ILinker Options

Syntax

/NOENTRY

This option is required for creating a resource-only DLL.

Use this option to prevent LINK from linking a reference to _main into the DLL.