/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 Set C++ compiler and build properties in Visual Studio.
Select the Configuration Properties > Linker > Advanced property page.
Modify the No Entry Point property.
To set this linker option programmatically
- See ResourceOnlyDLL.
See also
Creating a Resource-Only DLL
MSVC linker reference
MSVC Linker Options
Phản hồi
https://aka.ms/ContentUserFeedback.
Sắp ra mắt: Trong năm 2024, chúng tôi sẽ dần gỡ bỏ Sự cố với GitHub dưới dạng cơ chế phản hồi cho nội dung và thay thế bằng hệ thống phản hồi mới. Để biết thêm thông tin, hãy xem:Gửi và xem ý kiến phản hồi dành cho