News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

using resources in C::B and using RadASM

Started by MoonKid, June 04, 2006, 12:44:44 PM

Previous topic - Next topic

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.next.codeblocks.org/index.php?topic=2200.0 (search for "resources" in C::B forum)
best regards,
p7
Free open source UML modeling tool: ArgoUML

PsYhLo

[url="http://img529.imageshack.us/img529/822/3664286vy.png"]http://img529.imageshack.us/img529/822/3664286vy.png[/url]

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) Select
APP_ICON  ICON  "path/to/your/icon.ico"

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.
C::B Wishlist
~BOYCOTT THE EVIL YELLOW BOXES~

Baco

Vampyre_Dark i had a try of resed 1.1.4.0 and i hadnt found any option to generate c styles includes.
I wanted to modify an existing .rc resource file with identifiers in an .h header file, but using resed i had many things messed up.
If someone else want to modify an existing .rc resource file with identifiers in an .h header file i can tell him to leave alone resed.