User forums > Using Code::Blocks
using resources in C::B and using RadASM
MoonKid:
I want to use resources in C::B. I know I have to build them with an extern editor.
I found http://www.radasm.com/. I understand nothing! ;)
That is something with assambler. There is nothing about resources.
In the application itself is nothing about resources.
How can I build and add resources with icons in it to a C::B project?
polygon7:
Hi,
look at: http://www.radasm.com/projects/projects.html
->"ResEd version 1.1.3.0 (05-28-2006) Simple resource editor and RAResEd with source. resed.zip (426K)"
and for example:
http://forums.codeblocks.org/index.php?topic=2200.0 (search for "resources" in C::B forum)
PsYhLo:
use this when you compile your .exe
http://www.angusj.com/resourcehacker/
open the .exe and add your icon
or use this
http://forums.codeblocks.org/index.php?topic=2191.0
Ceniza:
Just search in the forums or in google how to create resource files and add icons to it. Create a new resource file with Code::Blocks, add the lines you need and build it.
If all you need is an icon for the program, something like this will do:
--- Code: (cpp) ---APP_ICON ICON "path/to/your/icon.ico"
--- End code ---
APP_ICON is just a name I made up.
Vampyre_Dark:
I linked you to a free program called ResEd that would create the resource file for you. All you have to do is use it to spit out an .rc file, and add it to your project. Also, using the program options to 'generate c style includes' to get an .h file with all your resources define. You can use this program to add icons and manifests or whatever you want.
Navigation
[0] Message Index
[#] Next page
Go to full version