/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.
Setting Linker Options | Linker Options | FAQ: Building Your Program