Hi, @José Carlos
Add icon resource and no other operations are required.
From
To
In addition, to import another icon with a lowest custom icon ID into Resource file as an exe icon.
//resource.h
#define IDI_ICON2 99 // the second icon
#define IDI_ICON1 101
your project.rc file
IDI_ICON2 ICON "XXX\\XXX\\XXX.ico"
IDI_ICON1 ICON "icon1.ico"
You may need to restart the computer to clear the cache and rebuild the project to display the second icon.
Best regards,
Minxin Yu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.