在 VS2012 中修改 header 部分

Modify section header in VS2012

我有一个基于 Windows driver 的解决方案并致力于 Visual Studio 2012。我想修改部分 header 的权限标志。我尝试使用 properties->linker 来做到这一点,但是当我使用 CFF 资源管理器浏览 header 部分时,它没有修改 header 部分。

我想删除 INIT 部分的写权限 header(Win10 需要)。有人可以帮忙吗?

我找到了解决方法。我们可以从链接中删除“/driver”选项,然后将链接器选项中的节头值从 "init,d" 更改为 init,RE!W 。按我的预期工作。