When my application doesn't have any icon resources, all other resources and code produce a 121kb exe file. Then, I manually add the application icon resource to the "Resources.resx" file under the "Icons" category. After that, I compile the application again and since my icon has 66kb, the exe becomes 187kb. Then I open my application project settings and set the application icon by selecting it from the dropdown. After compiling the application again, the exe is now 253kb (187 + 66).
How is that possible? I'm using the same resource, why does the exe size increases like this?
I place most of the blame for the crappy state of gaming on smartphones. But Unreal Engine gets some of the blame also for allowing everyone and their dog to make a video game. The diamonds get buried in a massive dunghill, which from the sound of it is about to grow much larger.
Hello,
There were some claims he was involved in the malware scene in Montréal in the 00's, but I don't think they were ever substantiated.
Regards,
Aryeh Goretsky
Question
ProclaimDragon
Hi,
When my application doesn't have any icon resources, all other resources and code produce a 121kb exe file. Then, I manually add the application icon resource to the "Resources.resx" file under the "Icons" category. After that, I compile the application again and since my icon has 66kb, the exe becomes 187kb. Then I open my application project settings and set the application icon by selecting it from the dropdown. After compiling the application again, the exe is now 253kb (187 + 66).
How is that possible? I'm using the same resource, why does the exe size increases like this?
Anyway to workaround the problem?
Link to comment
https://www.neowin.net/forum/topic/697316-c-icon-resource-is-duplicate-in-the-built-executable/Share on other sites
17 answers to this question
Recommended Posts