Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
/NOENTRY (No Entry Point)
Collapse the table of content
Expand the table of content

/NOENTRY (No Entry Point)


The /NOENTRY option is required for 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

  1. Open the project's Property Pages dialog box. For details, see Setting Visual C++ Project Properties.
  2. Click the Linker folder.
  3. Click the Advanced property page.
  4. Modify the Resource Only DLL property.

To set this linker option programmatically

See ResourceOnlyDLL Property.

See Also

Setting Linker Options | Linker Options

© 2015 Microsoft