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
Post a Comment