加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 大数据 > 正文

vb.net – 如何创建一个包含图标的shell32.dll之类的DLL

发布时间:2020-12-17 00:02:01 所属栏目:大数据 来源:网络整理
导读:我正在研究Visual Studio 2010.想要创建一个包含像 shell32.dll一样的图标的dll.任何人都可以指导我需要做什么. 目的:我只想让我的fav图标绑定一个dll并保留在我的根驱动器中并自定义所有文件夹图标,我只是需要它包含Dll就是这样. 我不知道需要什么和所有努
我正在研究Visual Studio 2010.想要创建一个包含像 shell32.dll一样的图标的dll.任何人都可以指导我需要做什么.
目的:我只想让我的fav图标绑定一个dll并保留在我的根驱动器中并自定义所有文件夹图标,我只是需要它包含Dll就是这样.
我不知道需要什么和所有努力,我准备好需要付出多少努力.
欢迎提出任何建议或意见.
我不确定需要什么细节,所以添加了shell32.dll的图片.
您可以创建一个 Resource-Only DLL.

从链接:

To create a resource-only DLL,you create a new Win32 DLL (non-MFC)
project and add your resources to the project.

  • Select Win32 Project in the New Project dialog box and specify a DLL project type in the Win32 Project Wizard.

  • Create a new resource script that contains the resources (such as a string or a menu) for the DLL and save the .rc file.

  • On the Project menu,click Add Existing Item,and then insert the new .rc file into the project.

  • Specify the /NOENTRY linker option. /NOENTRY prevents the linker from linking a reference to _main into the DLL; this option is
    required to create a resource-only DLL.

  • Build the DLL.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读