I want to change the icon of an executable...
without compiling it.
any help welcome :)
Impulse
Printable View
I want to change the icon of an executable...
without compiling it.
any help welcome :)
Impulse
if i well understood, you want to change it run-time. Ok. That's the code :
[
HICON icon = AfxGetApp()->LoadIcon(IDI_YOUR_ICON);
AfxGetMainWnd()->SetIcon(icon);
]
Let me know if it works fine to you
Regards,
faby
No, that's not that...
i want to change the icon a another executable than mine...
I want to change any executable, even if it's not running...
but thanks for awsering me