Wednesday, November 24, 2010

Change Icon Of Exe in Visual C Program.?

I am programming with Visua C++ compiler. But I am strictly writing a C Program. I want to change the icon of generated exe file. How do I do that?



If you answer is %26quot;right click on exe and in properties tab change icon.. please don't answer%26quot;.. that is lame, not protable and not what I am looking for.



Thanks in advance.Change Icon Of Exe in Visual C Program.?
From the IDE you should be able to edit or create a resources (.rc) file. This file controls what icons are available and used with Win32 API and MFC applications. If you are writing a C program in %26quot;DOS%26quot; mode, no resource file is used and so you have no direct icon control other than the lame answer you complained about. Please note, *IF* you aren't using Win32 API(available in C) or the MFC(not available in C!), then you *CAN'T* use a resource file and control the icon without setting it manually or through a program installation you've written for your program.

Sorry, if your program runs in a DOS box, you just can't do certain things that work with the GUI. That's progress!Change Icon Of Exe in Visual C Program.?
Been a while for me so I wanted to do some refreshing up and came across this answer. OWNED hahah LOL sorry to funny...

Report Abuse

No comments:

Post a Comment