/NOENTRY (No Entry Point)

/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.

IDE Settings (Project Settings dialog box)

Tab Category Control Setting
Link Not applicable Project Options Type /NOENTRY in the text box.