How do I add custom windows' resources into executable without resource compiler?

前端 未结 1 548
青春惊慌失措
青春惊慌失措 2021-01-15 16:22

I was able to load a bitmap object (LoadImage) into executable (and implement it as an icon); however, when I release it as a standalone executable, the ico

相关标签:
1条回答
  • 2021-01-15 16:58

    You could use BeginUpdateResource, UpdateResource, and EndUpdateResource to add the bitmap resource to your executable as post-build step or something, but why avoid using the resource compiler? It's really much easier, more straightforward, and future-proof than hacking your own solution.

    0 讨论(0)
提交回复
热议问题