Win32 |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Sep 13, 2006 4:47 pm Post subject: Resources |
|
|
Code Guru: Resources Explorer
"ResExplorer is a tool that helps you find resources in EXE or DLL files.
The first time you use it, it makes a list of files with resource counts. After
that, it can show you a selected resource in a selected file (image and
attributes). It is possible to save this to a file or the Clipboard. Some
formats are available; these are compatible with Visual Studio (such as
BMP, AVI, VAW, RES, ICO, or CUR). The program can easily be extended to
support all other resource types." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Oct 17, 2006 12:22 pm Post subject: |
|
|
msdn: Using Resources
"This section contains code snippets for the following tasks: Updating
Resources & Creating a Resource List"
Creating a Resource List, or enumerating resources starts with a call to
EnumResourceTypes() so we can see what types of resources are present
in a module and then EnumResourceNames() to create a list for a particular
type. In other words, EnumResourceTypes() gives us "ICON", "BITMAP",
"MENU" etc, and EnumResourceNames() gives us 128, 129, "APP_ICON", etc. |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Oct 17, 2006 1:44 pm Post subject: |
|
|
msdn: Resource-Definition Statements
"The resource-definition statements define the resources that the resource
compiler puts in the resource (.Res) file. After the .Res file is linked to the
executable file, the application can load its resources at run time as needed.
All resource statements associate an identifying name or number with a
given resource."
ACCELERATORS, BITMAP, CURSOR, DIALOG, FONT, ICON, MENU, POPUP,
MESSAGETABLE, STRINGTABLE, VERSIONINFO, etc. |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Tue Nov 28, 2006 5:32 pm Post subject: |
|
|
CodeGuru: Hacking Icon Resources, by Vlad Riscutia
"In this tutorial, I will show you how to replace an application's icon with a
given .ICO file. To keep things simple, you will use an .ICO file containing a
single 32x32 image (meaning, I will give the complete source code to accomplish
this), but I will provide the general theory to enable you to extend the
example to support all types of icons." |
|
Back to top |
|
|
admin Site Admin
Joined: 14 Jun 2006 Posts: 14 Location: Zagreb
|
Posted: Thu Jan 04, 2007 1:33 am Post subject: |
|
|
C Board: Resources
"User-Defined Resource
nameID typeID [load-mem] filename
The filename specifies the name of a file containing the binary data of the
resource. The contents of the file are included as the resource. RC does
not interpret the binary data in any way. It is the programmer's
responsibility to ensure that the data is properly aligned for the target
machine architecture." |
|
Back to top |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3136 Location: Europe
|
Posted: Sun Apr 15, 2007 6:35 pm Post subject: |
|
|
cboard: Resource File Fun...
"I personally recommend Code::Blocks."
....
"You could use a free-standing resource editor like XN Resource Editor as well." |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Apr 21, 2007 1:56 pm Post subject: |
|
|
RC: The format of bitmap resources
"A bitmap resource takes the same form as a bmp file, except that there
is no BITMAPFILEHEADER. That's all." |
|
Back to top |
|
|
XNote Kapetan
Joined: 16 Jun 2006 Posts: 532
|
Posted: Fri Jul 11, 2008 6:23 pm Post subject: |
|
|
RC: The evolution of menu templates: 32-bit classic menus
"The 32-bit classic menu template is in fact nearly identical to the 16-bit
classic menu template. The only change is that the menu text is now a
Unicode string instead of an ANSI string" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Wed Aug 27, 2008 12:22 am Post subject: |
|
|
Michael Kaplan: Its the End[UpdateResource] of the world we know it
"When the Microsoft Linker (LINK.EXE) does its work it makes a lot of sense
that it makes the .reloc section last rather than the .rsrc section, because the
latter is more or less gunk that is alread compiled by the Microsoft Resource
Compiler (RC.EXE) and which it does no t really need to modify -- it just has
to align, while the former is the section that it arguably has to do some of it
hardest work in to have all of the relocation entries." |
|
Back to top |
|
|
|