Sign in to follow this  
ZeRaW

Win32 resources ... icons

Recommended Posts

If i have a compiled exe without any resource, is it possible to use any win32 api function to add an icon to that exe. If i have an exe with an icon, i can use the BeginResourceUpdate/UpdateResource/EndResourceUpdate to Change that icon with any icon raw data i have. But If the exe does not have any icon (or resource) the above functions do not do their job, in fact i end up with a corrupted exe.

Share this post


Link to post
Share on other sites
well it works fine when the destination executable has an icon. which i am updating with a different icon.
But When the destination executable does not have any resources, is there any way to add an icon to it?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this