/NOENTRY (No Entry Point)
/NOENTRY
Remarks
The /NOENTRY option is required for creating a resource-only DLL that contains no executable code. For more information, see Creating a Resource-Only DLL.
Use this option to prevent LINK from linking a reference to _main into the DLL.
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
Select the Linker folder.
Select the Advanced property page.
Modify the No Entry Point property.
To set this linker option programmatically
- See ResourceOnlyDLL.