| description | Learn more about: /NOENTRY (No Entry Point) | ||||||
|---|---|---|---|---|---|---|---|
| title | /NOENTRY (No Entry Point) | ||||||
| ms.date | 11/04/2016 | ||||||
| f1_keywords |
|
||||||
| helpviewer_keywords |
|
||||||
| ms.assetid | 0214dd41-35ad-43ab-b892-e636e038621a |
/NOENTRY
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.
-
Open the project's Property Pages dialog box. For details, see Set C++ compiler and build properties in Visual Studio.
-
Select the Configuration Properties > Linker > Advanced property page.
-
Modify the No Entry Point property.
- See xref:Microsoft.VisualStudio.VCProjectEngine.VCLinkerTool.ResourceOnlyDLL%2A.
Creating a Resource-Only DLL
MSVC linker reference
MSVC Linker Options