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

前端之家收集整理的这篇文章主要介绍了vb.net – 如何创建一个包含图标的shell32.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.

猜你在找的VB相关文章