AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Exe icone changer8/9/2023 ![]() Now, to add a main icon resource to your program, a quick walk-through: Test compile something simple to make sure you've got it working.If you aren't using the GCC you'll also want to make sure you've got the proper global variables set up.įor TC++Explorer you'll want to make sure you've got something like: C++ Compiler: bcc32.exe Mine uses all the default stuff for GCC: C Compiler: mingw32-gcc.exeĪgain, if you are using something different, make sure you've got the correct executables. ![]() Create a new file in your project named resources.rc.Find or create an icon to represent your application.This will give you a default main.cpp that simply prints "Hello world!". Add the following line to resources.rc : MAINICON ICON "spiffomatic.ico".It doesn't have to be named "resources", but that's what I chose. Hit Ctrl-F9 (or Build| Build from the main menu).At this point the Projects Management pane on the left should look something like this: Workspace.Notice how I gave the filename of the icon file I added to the project? Save all changes. ![]()
0 Comments
Read More
Leave a Reply. |