how do i give my exe an icon when i compile through VC++... do i have to use code?? (BTW its not MFC its just a regular console mode application!!)
*
*
Printable View
how do i give my exe an icon when i compile through VC++... do i have to use code?? (BTW its not MFC its just a regular console mode application!!)
*
*
Go to File > New and add a Resource Script to your project. Then, go to File > New and add an Icon File. Now you can draw/manipulate your icon.
By default, the first icon you add will be the icon that your application will use.
it didn't work, do i have to do anything to to resource script or anything??
never mind, figured it out....
how do I make my vc++ app smaller in size and also it should take less time compiling the code.
I think if you use Windows Lean and Mean in your header file,
then the app will be smaller, not sure though.
I don't have the code with me, will get it later.
Make sure you compile as Release, and you can change the optimisation settings to Minimum Size rather than Maximum Speed.is pretty useful, I always use it - it doesn't make your program much smaller, but it reduces compilation time (less to parse).Code:#define WIN32_LEAN_AND_MEAN
Thanks a lot Parskie!! No it takes only 1 second to compile the code:)