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
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.