https://github.com/aziascreations/pb-dll-icons-templates
A set of templates that shows you how to compile DLL files that contains icons with PureBasic.
https://github.com/aziascreations/pb-dll-icons-templates
dll icon-set icons iconset
Last synced: 15 days ago
JSON representation
A set of templates that shows you how to compile DLL files that contains icons with PureBasic.
- Host: GitHub
- URL: https://github.com/aziascreations/pb-dll-icons-templates
- Owner: aziascreations
- License: wtfpl
- Created: 2019-06-18T16:02:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-19T09:18:49.000Z (over 6 years ago)
- Last Synced: 2025-01-01T14:45:19.962Z (11 months ago)
- Topics: dll, icon-set, icons, iconset
- Language: PureBasic
- Homepage:
- Size: 50.8 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# PureBasic DLL Icons Templates
A set of templates that allow you to compile DLL filesthat contains icons with PureBasic using .rc files.
## How does it work
When compiling a program, you can choose to use one or more .rc file(s) in the "Resources" tab in the compiler options.
These template allow you to either see how to include one or more icon(s) in your executable or DLL, or how to compile multiple DLLs by using one project and multiple build options.
More informations about "Resource Definition Statements" can be on found on [docs.microsoft.com](https://docs.microsoft.com/en-us/windows/desktop/menurc/resource-definition-statements).
And in the [.rc file](Single/resources.rc) in the "Single" template.
## Templates
### Single Template
When compiling [SingleDLLIcon.pb](Single/SingleDLLIcon.pb), the [.rc file](Single/resources.rc) will point to a couple of icons contained in the "[icons/](Single/icons/)" folder.
The resulting DLL will contain 2 icon groups that are declared using numerical IDs and one that is declared using a unique name.
### Project Template
When compiling [ProjectDLL.pbp](Project/ProjectDLL.pbp), you can either select to build one or all targets.
Each target compiles an empty .pb file named [Empty.pb](Project/Empty.pb) with a different .rc file contained in the "[icons/](Project/icons/)" which then points to icons contained in distinct subfolders.
The resulting DLL will be put in the "[icons/](Project/icons/)" directory.
## Useful Resources
* [Resource Hacker](http://www.angusj.com/resourcehacker/) / [7-Zip](https://www.7-zip.org/)
Allows you to easily see what is inside of DLL, executables, ...
## Credits
The icons used in the templates are the property of Microsoft.
They come from Windows 98 and 10.
## License
[WTFPL](LICENSE)