Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Resources

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32
Win32  
Author Message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Wed Sep 13, 2006 4:47 pm    Post subject: Resources Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Tue Oct 17, 2006 12:22 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Tue Oct 17, 2006 1:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Tue Nov 28, 2006 5:32 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 14 Jun 2006
Posts: 14
Location: Zagreb

PostPosted: Thu Jan 04, 2007 1:33 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3025
Location: Europe

PostPosted: Sun Apr 15, 2007 6:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Sat Apr 21, 2007 1:56 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
XNote
Kapetan


Joined: 16 Jun 2006
Posts: 532

PostPosted: Fri Jul 11, 2008 6:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Wed Jul 16, 2008 4:13 pm    Post subject: Reply with quote

RC: The evolution of menu templates: 32-bit extended menus

"Introduced in Windows 95, this remains the most advanced menu template
format through Windows Vista."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Wed Aug 27, 2008 12:22 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Win32 All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group