User forums > Using Code::Blocks

Creating Version Info

<< < (3/4) > >>

JGM:
I finished my daily tasks. :D


--- Quote from: raph on August 25, 2007, 09:19:20 pm ---One step further would mean to build some kind of ResourceBuilder plugin.
It would be able to
- .. bitmaps, binary files to executable
- add menus, string tables, accelerators
thus creating the .rc file automatically.

--- End quote ---

Whooo!! I will have to read some documentation of microsoft rc files and create some small parser for all that (may be regular explressions) :idea:.

Well, and create some GUI with a data grid to edit all that resources by type. This is not so easy now for a novice like me jeje, but is a good idea and good for learning. :)

raph:

Could you point me to good documentation of rc files, because I have never used:
- menus,
- string tables,
- accelerators,
- binary files
- And I don't remember if Bitmaps
inside rc files.

I will start this when I get a bath, I smell to oil  :shock:

raph:
You really want to do this? cool :)

You will get all you want from the msdn here.
I don't know whether windres (mingw resource compiler) does have the very same syntax like Microsoft's rc.
Quick reference about windres syntax.
A very nice and comfortable way to understand the windows resource system is to play around with ResourceHacker (or change some existing application interfaces you don't like  :D).

JGM:
Does it exist some equivalent for linux?

Biplab:

--- Quote from: JGM on August 26, 2007, 05:53:41 am ---Does it exist some equivalent for linux?

--- End quote ---

No. On Linux, RC files are not necessary.

MortenMacFly:

--- Quote from: raph on August 25, 2007, 09:19:20 pm ---One step further would mean to build some kind of ResourceBuilder plugin.
It would be able to
- customize application executable icon
- add icons, bitmaps, binary files to executable
- add version info
- add menus, string tables, accelerators
thus creating the .rc file automatically.

--- End quote ---
Wait, wait... I don't think this is an easy tasks. A complete resource editor is far more complex than just a file version plugin. JGM: Watch out! In addition I think it's not even necessary. There are *very* good free resource editors around (e.g. ResEd) which you can easily connect to *.RC files within C::B as external tool. So why make another resource editor? I don't see a good reason for it. In addition C::B is a cross-platform tool and there is no "RC" under Linux. There are other cross-platform requirements around that are more important than Windows-only tasks IMHO.
With regards, Morten.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version