I need help to change my exe icon, i mean all icon folder (16x16,32x32, 48x48...), so i tried the MadRes under c++ builder, the code:
- Code: Select all
DWORD res;
res=BeginUpdateResourceW(PWideChar("d:\\b.exe"),true);
.
.
.
.
the "res" value always "0", and can't update the file, i don't know why, can u help me, and i don't know how to force the c++ builder to use yours override Api "BeginUpdateResourceW" and not the system one.
BTW i tried the BeginUpdateResource whithout 'W' it works, i think maybe i should change the compiler option, but what???
Muhammad[/code]