I am using Bloodshed C++ for my development. I have compiled the Dos console program in C and its working fine. But i want to add a icon to it instead of the windows application icon. Hope someone could help me.

Member Avatar for iamthwee

hmm, console apps not to sure, maybe if it were a windows app perhaps?

I never tried it but you might search MSDN for LoadIcon() and related functions. LoadIcon() loads the icon from a resource file which is attached to the .exe program by the linker so I think you will need to write an MS-Windows program to accomplish that. But there are other functions that will get an icon from another .exe program.

Maybe this will help.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.