Solved

Extracting Icons and Images from Exe?

Posted on 2003-12-06
9
479 Views
Last Modified: 2010-04-05
Hi!

How extract Icons and Images from an executable file?
There is a sample in "Demo" Directory named "ResXplor"
But it cant extract all images and icons from exe.

The Author of this project himself wrote in first of unit "RXMain.pas" following line:

{ This program provides an example of how to use the TreeView and ListView
  components in a fashion similar to the Microsoft Windows Explorer.

  It is not intended to be a fully functional resource viewer. }


Does somebody show me a way for extracing images and icons completely.

Regards
0
Comment
Question by:Mamouri
9 Comments
 
LVL 11

Assisted Solution

by:robert_marquardt
robert_marquardt earned 31 total points
ID: 9891149
Have a look at the Jedi Code Library http://sourceforge.net/projects/jcl
The example PEViewer also shows the resources.
0
 
LVL 2

Expert Comment

by:odissey1
ID: 9891234
Hi Mamouri,

Not clear, do you need 1. icons extractor programm, 2. shell browser component or 3. you want to build your own combination  of 1 & 2?

regards,
odissey1
0
 
LVL 3

Author Comment

by:Mamouri
ID: 9891399
Robert Thankx I will check it!
Odissey simply I want extract images and icons from and executable file! I can write myself shell browser component. It is not very hard! I want extract all exist icons and images from an exe

Regards
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 27

Accepted Solution

by:
kretzschmar earned 40 total points
ID: 9891476
0
 
LVL 2

Expert Comment

by:odissey1
ID: 9891503
Hi  Mamouri,

>I can write myself shell browser component. It is not very hard!

I think you are speaking about a basic file Viewer - not Shell Browser. To understand the complexity of 'Browser' take a look at VirtualShellTools (freware shell browser components) -so far the best I know- at
http://groups.yahoo.com/group/VirtualExplorerTree/
(first time installation can easely take 4-5 hours :)

this project is run for almost 2 years by several high-profile coders and still under development. If you are capable to accomplish something like that alone - you don't need  help here..

Problems I know: First, you'll have to work with shell functions. Then most likely you will need Namespace extensions (another nightmare). Then you will have to use 'virtual' mode -otherwise you'll stuck on any 'fat' folder forever. And both TTreeView and TListView are SO buggy in virtual mode and you have to patch them.

If you decide to go with VirtualShellTools, there is an example there (demos section) how-to populate  Thumbnails with a custom bitmaps (that's what you want). There are also several demo programs shownig howto build Explorer clones.

Another good solution for namespace browsing (NSLIB - the only one that I know) will be here http://www.whirlingdervishes.com/ (it costs approx. $350 and well worth it). In this approach you can use standard Windows explorer to open subfolders (like zip files) to see custom information on it (in your case - icons and bitmaps packed inside the file).

If you are still thinking about real Shell Browsing - think again - Borland tried to deliver TShell comonents for several years and failed - project is dropped as un-accomplished (that's why it is still under the Samples group).  

Good luck!

Regards,
odissey1
 
0
 
LVL 22

Assisted Solution

by:Ferruccio Accalai
Ferruccio Accalai earned 40 total points
ID: 9892896
I think you need something like ResHacker ( http://www.users.on.net/johnson/resourcehacker/ )...
So you can look at the resource editor source as suggested in that site http://www.wilsonc.demon.co.uk/d6peresourceeditor.htm or download this D7 free package with source to learn how to  exctract resources from exe's and dll's http://www.btinternet.com/~wilsoncpw/resexp_source.zip

F68 ;-)
0
 
LVL 3

Expert Comment

by:ThoseBug
ID: 9896092
Please give me a break...who is odissey1?....all the topics with your participation only have bad news and ironics comments...
0
 
LVL 2

Expert Comment

by:odissey1
ID: 9898737
To ThoseBug,

Icons extraction is easy. Shell browsing is not. This is my last (weekend) project that was started Dec 1, 2002 - and not ready yet as after passing 10k lines of code program became 'unstable' :( . Note that existing programs like GLExtract, etc. do show tree view but have no brawsing capabilities.

odissey1
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 10796353
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Delphi component that can load a DLL in design time? 8 74
Delphi selector screen 2 84
Making delphi communicate with a c# service 16 111
RESTRequest Parameter 4 42
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question