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


i able load bitmap object (loadimage) executable (and implement icon); however, when release standalone executable, icon disappears. found out requires bitmap present in directory @ runtime trick work. however, executable desktop icon not change default icon bitmap present in current directory. assume happens, because desktop icon should determined during compiling time. therefore, want know if there's way add resources executable without need of resource compiler? desire have done winapi. if that's not possible, i'll consider alternatives.

you use beginupdateresource, updateresource, , endupdateresource add bitmap resource executable post-build step or something, why avoid using resource compiler? it's easier, more straightforward, , future-proof hacking own solution.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -