How can i change another program icon?

后端 未结 1 1096
北恋
北恋 2021-01-24 01:34

How can i change another program icon(not mine) in C++ ? I want to do this on Windows. One of my friend is programming in VB and he made a program that can change another .exe i

相关标签:
1条回答
  • 2021-01-24 01:57

    After preparing your updated resource (using LoadIcon/LoadImage, depending on where your icon is stored), go through the steps to call UpdateResource:

    http://msdn.microsoft.com/en-us/library/windows/desktop/ms648049%28v=VS.85%29.aspx

    The documentation for the functions should cover the finer points of what you might need to do.

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