/DEF
(Specify module-definition file)
Specifies a module-definition file to the linker.
Syntax
/DEF:
filename
Arguments
filename
The name of a module-definition file (.def
) to be passed to the linker.
Remarks
The /DEF
linker option passes a module-definition file (.def
) to the linker. Only one .def
file can be specified to LINK. For details about .def
files, see Module-definition files.
To specify a .def
file from within the development environment, add it to the project along with your other source files and then specify the file in the project's Property Pages dialog.
To set this linker option in the Visual Studio development environment
Open the project's Property Pages dialog box. For more information, see Set compiler and build properties.
Select the Configuration Properties > Linker > Input property page.
Modify the Module Definition File property. Choose OK or Apply to save your changes.
To set this linker option programmatically
- See ModuleDefinitionFile.
See also
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