Removing Unused Resources #214
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The program's resources currently contain over 650 unused resources: PNG, BMP, cursors, icons, XML styles, dialogs, and strings missing from the program (toolbar elements, ribbons, skins, etc.). I first removed them from your 1.4.4.7 file using ResHacker to ensure the file would still work without these resources.
Then I commented out four lines in the
cppcryptfs.rcfile.I built cppcryptfs (x64) from source, following the author's instructions exactly. There were no build errors. The program size decreased by 1.35 MB (18%).
cppcryptfs.exenow only contains its own resources.I tested the functionality of the created
cppcryptfs.exeon Win 10 Pro and Win 11 Pro.